public class PostscriptParser.PSSubroutine extends PostscriptParser.PSElement
binaryEntries, endPoint, hasMore, operator, readBinary, tokens
Constructor and Description |
---|
PSSubroutine(String operator,
int startPoint) |
Modifier and Type | Method and Description |
---|---|
String |
getSubroutine()
Gets the parsed subroutine element as unmodified string
|
void |
parseByte(byte cur,
int pos)
Passes responsibility for processing the byte stream to the PostScript object
|
void |
parseToken(String token,
int curPos)
Delegates the parse routine to a sub class
|
getBinaryEntries, getBinaryEntryByIndex, getEndPoint, getFoundUnexpected, getOperator, getStartPoint, hasMore, isInteger, parse, setFoundUnexpected
public PSSubroutine(String operator, int startPoint)
public void parseToken(String token, int curPos)
PostscriptParser.PSElement
parseToken
in class PostscriptParser.PSElement
token
- The token which to parsepublic String getSubroutine()
public void parseByte(byte cur, int pos)
PostscriptParser.PSElement
parseByte
in class PostscriptParser.PSElement
cur
- The byte currently being readpos
- The position of the given byteCopyright © 2025 Apache Software Foundation. All rights reserved.