프로퍼티 | 타입 | 설명 | |
---|---|---|---|
input |
메소드 | 설명 | |
---|---|---|
Close ( ) : void |
Closes the underlying input stream. NOTE: The default implementation closes the input Reader, so be sure to call
|
|
CorrectOffset ( int currentOff ) : int |
Chains the corrected offset through the input CharFilter(s).
|
|
Mark ( int readAheadLimit ) : void |
Marks the present position in the stream. Subsequent calls to reset() will attempt to reposition the stream to this point. Not all character-input streams support the mark() operation. LUCENENET specific. Moved here from the Java Reader class so it can be overridden to provide reader buffering.
|
|
Ready ( ) : bool |
Tells whether this stream is ready to be read. True if the next read() is guaranteed not to block for input, false otherwise. Note that returning false does not guarantee that the next read will block. LUCENENET specific. Moved here from the Java Reader class so it can be overridden to provide reader buffering.
|
|
Reset ( ) : void |
LUCENENET specific. Moved here from the Java Reader class so it can be overridden to provide reader buffering.
|
|
Skip ( int n ) : long |
Skips characters. This method will block until some characters are available, an I/O error occurs, or the end of the stream is reached. LUCENENET specific. Moved here from the Java Reader class so it can be overridden to provide reader buffering.
|
메소드 | 설명 | |
---|---|---|
CharFilter ( |
Create a new CharFilter wrapping the provided reader.
|
|
Correct ( int currentOff ) : int |
Subclasses override to correct the current offset.
|
protected CharFilter ( |
||
input | a Reader, can also be a CharFilter for chaining. | |
리턴 | System |
protected abstract Correct ( int currentOff ) : int | ||
currentOff | int | current offset |
리턴 | int |
public Mark ( int readAheadLimit ) : void | ||
readAheadLimit | int | Limit on the number of characters that may be read while still preserving the mark. After /// reading this many characters, attempting to reset the stream may fail. |
리턴 | void |