All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class java.text.ParseStatus

java.lang.Object
   |
   +----java.text.ParseStatus

public class ParseStatus
extends Object
Simple class, used in Format and its subclasses.

By design, as you parse through a string with different formats, you can use the same ParseStatus, since the startAt parameter records the current position.

See Also:
Format

Variable Index

 o startAt
Input: the place you start parsing.

Constructor Index

 o ParseStatus()
Defaults position to 0.
 o ParseStatus(int)
Sets starting position.

Variables

 o startAt
  public int startAt
Input: the place you start parsing.
Output: position where the parse stopped. This is designed to be used serially, with each call setting startAt up for the next one.

Constructors

 o ParseStatus
  public ParseStatus()
Defaults position to 0.

 o ParseStatus
  public ParseStatus(int start)
Sets starting position.

Parameters:
start - starting position from which to parse.

All Packages  Class Hierarchy  This Package  Previous  Next  Index