Class Type2CharStringParser


  • public class Type2CharStringParser
    extends java.lang.Object
    This class represents a converter for a mapping into a Type2-sequence.
    Version:
    $Revision: 1.0 $
    Author:
    Villu Ruusmann
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.List<java.lang.Object> parse​(byte[] bytes, IndexData globalSubrIndex, IndexData localSubrIndex)
      The given byte array will be parsed and converted to a Type2 sequence.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Type2CharStringParser

        public Type2CharStringParser()
    • Method Detail

      • parse

        public java.util.List<java.lang.Object> parse​(byte[] bytes,
                                                      IndexData globalSubrIndex,
                                                      IndexData localSubrIndex)
                                               throws java.io.IOException
        The given byte array will be parsed and converted to a Type2 sequence.
        Parameters:
        bytes - the given mapping as byte array
        globalSubrIndex - index containing all global subroutines
        localSubrIndex - index containing all local subroutines
        Returns:
        the Type2 sequence
        Throws:
        java.io.IOException - if an error occurs during reading