Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

Eclipse JDT
Release 3.5

com.sun.mirror.util
Interface SourcePosition


public interface SourcePosition

Represents a position in a source file.

Since:
1.5

Method Summary
 int column ()
          Returns the column number of this position.
  File file ()
          Returns the source file containing this position.
 int line ()
          Returns the line number of this position.
 

Method Detail

file

File file()
Returns the source file containing this position.

Returns:
the source file containing this position; never null

line

int line()
Returns the line number of this position. Lines are numbered starting with 1.

Returns:
the line number of this position, or 0 if the line number is unknown or not applicable

column

int column()
Returns the column number of this position. Columns are numbered starting with 1.

Returns:
the column number of this position, or 0 if the column number is unknown or not applicable

Eclipse JDT
Release 3.5

Copyright (c) IBM Corp. and others 2000, 2008. All Rights Reserved.

 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire