Package org.apache.james.mime4j.stream
Class ParserCursor
- java.lang.Object
-
- org.apache.james.mime4j.stream.ParserCursor
-
public class ParserCursor extends Object
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
-
-
Constructor Summary
Constructors Constructor Description ParserCursor(int lowerBound, int upperBound)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
atEnd()
int
getLowerBound()
int
getPos()
int
getUpperBound()
String
toString()
void
updatePos(int pos)
-