java.lang.Object
org.sejda.sambox.pdmodel.font.CMapManager
CMap resource loader and cache.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final org.slf4j.Logger -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic org.apache.fontbox.cmap.CMapgetPredefinedCMap(String cMapName) Fetches the predefined CMap from disk (or cache).static org.apache.fontbox.cmap.CMapparseCMap(InputStream cMapStream) Parse the given CMap.
-
Field Details
-
CMAP_CACHE
-
LOG
private static final org.slf4j.Logger LOG
-
-
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
-