|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--sun.tools.java.Scanner | +--swing.addon.text.JavaDocument.Scanner
Fields inherited from class sun.tools.java.Scanner |
ch,
charValue,
docComment,
doubleValue,
env,
EOF,
floatValue,
idValue,
in,
intValue,
LINEINC,
longValue,
OFFSETINC,
pos,
prevPos,
radix,
scanComments,
stringValue,
token |
Method Summary | |
int |
getEndOffset()
This fetches the ending location of the current token in the document. |
int |
getStartOffset()
This fetches the starting location of the current token in the document. |
void |
setRange(int p0,
int p1)
Sets the range of the scanner. |
Methods inherited from class sun.tools.java.Scanner |
getEndPos,
getIdToken,
match,
scan,
useInputStream,
xscan |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Method Detail |
public final int getEndOffset()
public final int getStartOffset()
public void setRange(int p0, int p1) throws java.io.IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |