ToUnicodeCMap

ToUnicodeCMap

Overview

ToUnicodeCMap is a class in Aspose.PDF FOSS for Java.

A parsed ToUnicode CMap (ISO 32000-1:2008, §9.10.3).

This class provides 5 methods for working with ToUnicodeCMap objects in Java programs. Available methods include: ToUnicodeCMap, contains, getMappings, lookup, size. All public members are accessible to any Java application after installing the Aspose.PDF FOSS for Java package. Properties: mappings.

Properties

NameTypeAccessDescription
mappingsMap<Integer, String>ReadReturns an unmodifiable view of all mappings.

Methods

SignatureDescription
ToUnicodeCMap(mappings: Map<Integer, String>)Creates a ToUnicodeCMap with the given mappings.
lookup(charCode: int)StringLooks up the Unicode string for the given character code.
contains(charCode: int)booleanReturns whether the given character code is mapped.
size()intReturns the number of mappings.
getMappings()Map<Integer, String>Returns an unmodifiable view of all mappings.

See Also

 English