FileDocCategorySizeDatePackage
SourcePosition.javaAPI DocJava SE 5 API1022Fri Aug 26 14:54:54 BST 2005com.sun.javadoc

SourcePosition

public interface SourcePosition
This interface describes a source position: filename, line number, and column number.
since
1.4
author
Neal M Gafter

Fields Summary
Constructors Summary
Methods Summary
public intcolumn()
The column in the source file. The first column is numbered 1; 0 means no column information is available. Columns count characters in the input stream; a tab advances the column number to the next 8-column tab stop.

public java.io.Filefile()
The source file. Returns null if no file information is available.

public intline()
The line in the source file. The first line is numbered 1; 0 means no line number information is available.

public java.lang.StringtoString()
Convert the source position to the form "Filename:line".