Class CMapManager

java.lang.Object
org.apache.pdfbox.pdmodel.font.CMapManager

final class CMapManager extends Object
CMap resource loader and cache.
  • Field Details

  • Constructor Details

    • CMapManager

      private CMapManager()
  • Method Details

    • getPredefinedCMap

      public static CMap getPredefinedCMap(String cMapName) throws IOException
      Fetches the predefined CMap from disk (or cache).
      Parameters:
      cMapName - CMap name
      Returns:
      The predefined CMap, never null.
      Throws:
      IOException
    • parseCMap

      public static CMap parseCMap(InputStream cMapStream) throws IOException
      Parse the given CMap.
      Parameters:
      cMapStream - the CMap to be read
      Returns:
      the parsed CMap
      Throws:
      IOException