|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcommon.LocationInFile
public class LocationInFile
Represents a file name and a line number in that file.
| Constructor Summary | |
|---|---|
LocationInFile(java.lang.String filename,
int lineNum)
Creates a new LocationInFile object with the given file name and line number. |
|
| Method Summary | |
|---|---|
java.lang.String |
getFilename()
|
int |
getLineNum()
|
java.lang.String |
toString()
Returns a string consisting of the file name, followed by a colon, followed by the line number. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public LocationInFile(java.lang.String filename,
int lineNum)
| Method Detail |
|---|
public java.lang.String getFilename()
public int getLineNum()
public java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||