public class Location
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
Location(java.lang.String optionalFileName,
short lineNumber,
short columnNumber) |
Modifier and Type | Method and Description |
---|---|
short |
getColumnNumber() |
java.lang.String |
getFileName() |
short |
getLineNumber() |
java.lang.String |
toString()
Converts this
Location into an english text, like |
public static final Location NOWHERE
public Location(java.lang.String optionalFileName, short lineNumber, short columnNumber)
optionalFileName
- A human-readable indication where the document related to this
Location
can be foundpublic java.lang.String getFileName()
public short getLineNumber()
public short getColumnNumber()
public java.lang.String toString()
Location
into an english text, likeFile Main.java, Line 23, Column 79
toString
in class java.lang.Object
Copyright © 2001-2012. All Rights Reserved.