Package com.zeroc.IceGrid
Class FileIterator.ReadResult
java.lang.Object
com.zeroc.IceGrid.FileIterator.ReadResult
- Enclosing interface:
- FileIterator
Holds the result of operation read.
-
Field Summary
FieldsModifier and TypeFieldDescriptionString[]
The lines read from the file.boolean
True if EOF is encountered. -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor.ReadResult
(boolean returnValue, String[] lines) This constructor makes shallow copies of the results for operation Read. -
Method Summary
-
Field Details
-
returnValue
public boolean returnValueTrue if EOF is encountered. -
lines
The lines read from the file. If there was nothing to read from the file since the last call to read, an empty sequence is returned. The last line of the sequence is always incomplete (and therefore no '\n' should be added when writing the last line to the to the output device).
-
-
Constructor Details
-
ReadResult
public ReadResult()Default constructor. -
ReadResult
This constructor makes shallow copies of the results for operation Read.- Parameters:
returnValue
- True if EOF is encountered.lines
- The lines read from the file. If there was nothing to read from the file since the last call to read, an empty sequence is returned. The last line of the sequence is always incomplete (and therefore no '\n' should be added when writing the last line to the to the output device).
-
-
Method Details
-
write
-
read
-