Class ParserCursor
java.lang.Object
org.apache.james.mime4j.stream.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
Copied from Apache HttpCore project
-
Field Details
-
lowerBound
private final int lowerBound -
upperBound
private final int upperBound -
pos
private int pos
-
-
Constructor Details
-
ParserCursor
public ParserCursor(int lowerBound, int upperBound)
-
-
Method Details
-
getLowerBound
public int getLowerBound() -
getUpperBound
public int getUpperBound() -
getPos
public int getPos() -
updatePos
public void updatePos(int pos) -
atEnd
public boolean atEnd() -
toString
-