Class FileIterator.ReadResult

java.lang.Object
com.zeroc.IceGrid.FileIterator.ReadResult
Enclosing interface:
FileIterator

public static class FileIterator.ReadResult extends Object
Holds the result of operation read.
  • Field Details

    • returnValue

      public boolean returnValue
      True if EOF is encountered.
    • lines

      public String[] 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

      public ReadResult(boolean returnValue, String[] lines)
      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