public class PostscriptParser.PSDictionary extends PostscriptParser.PSElement
Modifier and Type | Field and Description |
---|---|
protected int |
binaryLength |
binaryEntries, endPoint, hasMore, operator, readBinary, tokens
Constructor and Description |
---|
PSDictionary(String operator,
int startPoint) |
Modifier and Type | Method and Description |
---|---|
HashMap<String,String> |
getEntries()
Gets a map of dictionary entries identified by their name
|
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 PSDictionary(String operator, int startPoint)
public void parseToken(String token, int curPos)
PostscriptParser.PSElement
parseToken
in class PostscriptParser.PSElement
token
- The token which to parsepublic HashMap<String,String> getEntries()
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.