Package org.apache.pdfbox.pdmodel.font
Class CMapManager
java.lang.Object
org.apache.pdfbox.pdmodel.font.CMapManager
CMap resource loader and cache.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic CMap
getPredefinedCMap
(String cMapName) Fetches the predefined CMap from disk (or cache).static CMap
parseCMap
(InputStream cMapStream) Parse the given CMap.
-
Field Details
-
CMAP_CACHE
-
-
Constructor Details
-
CMapManager
private CMapManager()
-
-
Method Details
-
getPredefinedCMap
Fetches the predefined CMap from disk (or cache).- Parameters:
cMapName
- CMap name- Returns:
- The predefined CMap, never null.
- Throws:
IOException
-
parseCMap
Parse the given CMap.- Parameters:
cMapStream
- the CMap to be read- Returns:
- the parsed CMap
- Throws:
IOException
-