@Interface public abstract class TextStreamReader extends TextStreamBase
Modifier and Type | Field and Description |
---|---|
Boolean |
AtEndOfLine
Indicates whether the stream pointer position is at the end of a line.
|
Boolean |
AtEndOfStream
Indicates whether the stream pointer position is at the end of a stream.
|
Column, Line
constructor, prototype
Constructor and Description |
---|
TextStreamReader() |
Modifier and Type | Method and Description |
---|---|
String |
Read(double characters)
Returns a specified number of characters from an input stream, starting at the current pointer position.
|
String |
ReadAll()
Returns all characters from an input stream.
|
String |
ReadLine()
Returns an entire line from an input stream.
|
void |
Skip(double characters)
Skips a specified number of characters when reading from an input text stream.
|
void |
SkipLine()
Skips the next line when reading from an input text stream.
|
Close
$applyStatic, $applyStatic, $delete, $delete, $get, $get, $set, $set, $super, assign, create, create, defineProperties, defineProperty, defineProperty, freeze, getOwnPropertyDescriptor, getOwnPropertyNames, getPrototypeOf, hasOwnProperty, hasOwnProperty, hasOwnProperty, isExtensible, isFrozen, isPrototypeOf, isSealed, keys, preventExtensions, propertyIsEnumerable, propertyIsEnumerable, propertyIsEnumerable, seal, toJSString, toLocaleString, toString, valueOf
public Boolean AtEndOfLine
public Boolean AtEndOfStream
public String Read(double characters)
public String ReadAll()
public String ReadLine()
public void Skip(double characters)
characters
- Positive number of characters to skip forward. (Backward skipping is not supported.)public void SkipLine()