1 36 package org.columba.ristretto.io; 37 38 import java.io.IOException ; 39 40 48 public interface Source extends CharSequence { 49 50 57 public Source subSource( int start, int end); 58 59 64 public Source fromActualPosition(); 65 66 71 public int getPosition(); 72 73 79 public void seek(int position) throws IOException ; 80 81 88 public char next() throws IOException ; 89 90 95 public boolean isEOF(); 96 97 102 public void close() throws IOException ; 103 104 110 public void deepClose() throws IOException ; 111 112 } 113 | Popular Tags |