Class FilePositionInfo

java.lang.Object
com.igormaznitsa.jcp.exceptions.FilePositionInfo

public class FilePositionInfo extends Object
The class implements a file data storage where an exception can store a snapshot of the current preprocessing file data
  • Field Details

    • file

      private final File file
      The preprocessing file
    • stringIndex

      private final int stringIndex
      The current string index in the file
  • Constructor Details

    • FilePositionInfo

      public FilePositionInfo(File file, int stringIndex)
  • Method Details

    • getFile

      public File getFile()
    • getStringIndex

      public int getStringIndex()
    • toString

      public String toString()
      Overrides:
      toString in class Object