public class FileLocation extends java.lang.Object implements Location, java.io.Serializable
| Constructor and Description |
|---|
FileLocation()
Creates a new FileLocation
|
FileLocation(int line,
int column)
Creates a new FileLocation
|
FileLocation(java.lang.String filename)
Creates a new FileLocation
|
FileLocation(java.lang.String filename,
int line,
int column)
Creates a new FileLocation
|
| Modifier and Type | Method and Description |
|---|---|
int |
getColumnNumber()
Returns the column number for this Location
|
java.lang.String |
getFilename()
Returns the name of the file to which this FileLocation refers
|
int |
getLineNumber()
Returns the line number for this location
|
void |
setColumnNumber(int column)
Sets the column number for this Location
|
void |
setFilename(java.lang.String filename)
Sets the name of the file to which this FileLocation refers
|
void |
setLineNumber(int line)
Sets the line number for this Location
|
java.lang.String |
toString()
Returns the String representation of this Location
|
public FileLocation()
public FileLocation(java.lang.String filename)
filename - the name of the filepublic FileLocation(int line,
int column)
line - the line numbercolumn - the column number within the specified linepublic FileLocation(java.lang.String filename,
int line,
int column)
filename - the name of the fileline - the line numbercolumn - the column number within the specified linepublic int getColumnNumber()
public java.lang.String getFilename()
public int getLineNumber()
public void setColumnNumber(int column)
column - the column number for this Locationpublic void setFilename(java.lang.String filename)
filename - the name of the file to which this FileLocation
referspublic void setLineNumber(int line)
line - the line number for this LocationIntalio Inc. (C) 1999-2006. All rights reserved http://www.intalio.com