Package com.itextpdf.io.font.cmap
Class CMapLocationResource
java.lang.Object
com.itextpdf.io.font.cmap.CMapLocationResource
- All Implemented Interfaces:
-
ICMapLocation
Locates CMap programs in the bundled font resources.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetLocation(String location) Opens a tokenizer for a bundled CMap resource.Retrieve base folder path where CMaps are located.
-
Constructor Details
-
CMapLocationResource
public CMapLocationResource()
-
-
Method Details
-
getLocation
Opens a tokenizer for a bundled CMap resource.- Specified by:
-
getLocationin interfaceICMapLocation - Parameters:
-
location- the CMap resource name relative togetLocationPath() - Returns:
- a tokenizer for the requested resource
- Throws:
-
IOException- if the resource cannot be found or opened
-
getLocationPath
Retrieve base folder path where CMaps are located.- Returns:
- CMaps location path.
-