Class MRecordReader.Position

java.lang.Object
chemaxon.marvin.io.MRecordReader.Position
Enclosing interface:
MRecordReader

public static class MRecordReader.Position extends Object
Position in the input file.
  • Constructor Details

    • Position

      public Position(int r, int l)
      Creates a locator.
      Parameters:
      r - the record number (greater than zero)
      l - the line number (greater than zero)
  • Method Details

    • getRecordNumber

      public int getRecordNumber()
      Gets the record number.
      Returns:
      the record number (greater than zero)
    • getLineNumber

      public int getLineNumber()
      Gets the line number.
      Returns:
      the line number (greater than zero)
    • toString

      public String toString()
      Overrides:
      toString in class Object