|
Build 1.0_r1(from source) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.text.ParsePosition
public class ParsePosition
ParsePosition is used to track the current position in a String being parsed.
| Constructor Summary | |
|---|---|
ParsePosition(int index)
Constructs a new ParsePosition at the specified index. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object object)
Compares the specified object to this ParsePosition and answer if they are equal. |
int |
getErrorIndex()
Returns the index at which the parse could not continue. |
int |
getIndex()
Returns the current parse position. |
int |
hashCode()
Returns an integer hash code for the receiver. |
void |
setErrorIndex(int index)
Sets the index at which the parse could not continue. |
void |
setIndex(int index)
Sets the current parse position. |
String |
toString()
Returns the string representation of this FieldPosition. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ParsePosition(int index)
index - the index to begin parsing| Method Detail |
|---|
public boolean equals(Object object)
equals in class Objectobject - the object to compare with this object
hashCode()public int getErrorIndex()
public int getIndex()
public int hashCode()
hashCode in class Objectequals(java.lang.Object)public void setErrorIndex(int index)
index - the index of the parse errorpublic void setIndex(int index)
index - the current parse positionpublic String toString()
toString in class Object
|
Build 1.0_r1(from source) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||