Class PostscriptParser.PSDictionary

    • Field Detail

      • entries

        private java.util.HashMap<java.lang.String,​java.lang.String> entries
      • entry

        private java.lang.String entry
      • token

        private java.lang.String token
      • binaryLength

        protected int binaryLength
    • Constructor Detail

      • PSDictionary

        public PSDictionary​(java.lang.String operator,
                            int startPoint)
    • Method Detail

      • getEntries

        public java.util.HashMap<java.lang.String,​java.lang.String> getEntries()
        Gets a map of dictionary entries identified by their name
        Returns:
        Returns the dictionary entries as a map
      • addEntry

        private void addEntry​(java.lang.String entry)
      • parseByte

        public void parseByte​(byte cur,
                              int pos)
        Description copied from class: PostscriptParser.PSElement
        Passes responsibility for processing the byte stream to the PostScript object
        Specified by:
        parseByte in class PostscriptParser.PSElement
        Parameters:
        cur - The byte currently being read
        pos - The position of the given byte