Package com.igormaznitsa.jcp.exceptions
Class FilePositionInfo
- java.lang.Object
-
- com.igormaznitsa.jcp.exceptions.FilePositionInfo
-
public class FilePositionInfo extends java.lang.Object
The class implements a file data storage where an exception can store a snapshot of the current preprocessing file data
-
-
Field Summary
Fields Modifier and Type Field Description private java.io.File
file
The preprocessing fileprivate int
stringIndex
The current string index in the file
-
Constructor Summary
Constructors Constructor Description FilePositionInfo(java.io.File file, int stringIndex)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.io.File
getFile()
int
getStringIndex()
java.lang.String
toString()
-