public class CMapToUnicode extends AbstractCMap
Modifier and Type | Field and Description |
---|---|
static CMapToUnicode |
EmptyCMapToUnicodeMap |
Constructor and Description |
---|
CMapToUnicode()
Creates a new instance of CMap.
|
Modifier and Type | Method and Description |
---|---|
IntHashtable |
createDirectMapping() |
Map<Integer,Integer> |
createReverseMapping() |
Set<Integer> |
getCodes() |
static CMapToUnicode |
getIdentity() |
boolean |
hasByteMappings()
This will tell if this cmap has any two byte mappings.
|
char[] |
lookup(byte[] code) |
char[] |
lookup(byte[] code, int offset, int length)
This will perform a lookup into the map.
|
char[] |
lookup(int code) |
decodeStringToByte, getName, getOrdering, getRegistry, getSupplement, toUnicodeString
public static CMapToUnicode EmptyCMapToUnicodeMap
public static CMapToUnicode getIdentity()
public boolean hasByteMappings()
public char[] lookup(byte[] code, int offset, int length)
code
- The code used to lookup.
offset
- The offset into the byte array.
length
- The length of the data we are getting.
public char[] lookup(byte[] code)
public char[] lookup(int code)
public IntHashtable createDirectMapping()
public Map<Integer,Integer> createReverseMapping() throws IOException
IOException
Copyright © 1998–2016 iText Group NV. All rights reserved.