Java Reference
In-Depth Information
/** Get the continuation mode */
public
public boolean
boolean getContinuationMode () {
return
return doContinue ;
}
/** Read one (possibly continued) line, stripping out the \ that
* marks the end of each line but the last in a sequence.
*/
public
public abstract
abstract String readLine () throws
throws IOException ;
/** Read one real line. Provided as a convenience for the
* subclasses, so they don't embarrass themselves trying to
* call "super.readLine()" which isn't very practical...
*/
public
public String readPhysicalLine () throws
throws IOException {
return
return super
super . readLine ();
}
// Can NOT override getLineNumber in this class to return the #
// of the beginning of the continued line, since the subclasses
// all call super.getLineNumber...
/** Construct a ContLineReader with the default input-buffer size. */
public
public ContLineReader ( Reader in ) {
super
super ( in );
}
/** Construct a ContLineReader using the given input-buffer size. */
public
public ContLineReader ( Reader in , int
int sz ) {
super
super ( in , sz );
}
// Methods that do NOT work - redirect straight to parent
/** Read a single character, returned as an int. */
public
public int
int read () throws
throws IOException {
return
return super
super . read ();
}
/** Read characters into a portion of an array. */
public
public int
int read ( char
char [] cbuf , int
int off , int
int len ) throws
throws IOException {
return
return super
super . read ( cbuf , off , len );
}
public
public boolean
boolean markSupported () {
Search WWH ::




Custom Search