public final class LessFilePosition
extends java.lang.Object
| Constructor and Description |
|---|
LessFilePosition(java.lang.String filename,
int line,
int column)
filename may be null to indicate a file name is unavailable
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
int |
getColumn()
Get the column in the source file.
|
java.lang.String |
getFilename()
Get the file name.
|
int |
getLine()
Get the line in the source file
|
int |
hashCode() |
java.lang.String |
toString() |
public LessFilePosition(java.lang.String filename,
int line,
int column)
filename - the less file, can be null if a string was parsedline - the line number in the less filecolumn - the column in the less filepublic java.lang.String getFilename()
public int getLine()
public int getColumn()
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object