Android

org.apache.http.message.ParserCursor

java.lang.Object
org.apache.http.message.ParserCursor

This class represents a context of a parsing operation:

  • the current position the parsing operation is expected to start at
  • the bounds limiting the scope of the parsing operation

Summary

Public Constructors

            ParserCursor(int lowerBound, int upperBound)

Public Methods

          boolean  atEnd()
          int  getLowerBound()
          int  getPos()
          int  getUpperBound()
          String  toString()
Returns a string containing a concise, human-readable description of the receiver.
          void  updatePos(int pos)
Methods inherited from class java.lang.Object

Details

Public Constructors

public ParserCursor(int lowerBound, int upperBound)

Public Methods

public boolean atEnd()

public int getLowerBound()

public int getPos()

public int getUpperBound()

public String toString()

Returns a string containing a concise, human-readable description of the receiver.

Returns

  • String a printable representation for the receiver.

public void updatePos(int pos)

Copyright 2007 Google Inc. Build 0.9_r1-98467 - 14 Aug 2008 18:56