public class CMapToUnicode extends AbstractCMap
Constructor and Description |
---|
CMapToUnicode()
Creates a new instance of CMap.
|
Modifier and Type | Method and Description |
---|---|
Map<Integer,Integer> |
createDirectMapping() |
Map<Integer,Integer> |
createReverseMapping() |
static CMapToUnicode |
getIdentity() |
boolean |
hasOneByteMappings()
This will tell if this cmap has any one byte mappings.
|
boolean |
hasTwoByteMappings()
This will tell if this cmap has any two byte mappings.
|
String |
lookup(byte[] code, int offset, int length)
This will perform a lookup into the map.
|
decodeStringToByte, decodeStringToUnicode, getName, getOrdering, getRegistry, getSupplement
public boolean hasOneByteMappings()
public boolean hasTwoByteMappings()
public String 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 Map<Integer,Integer> createReverseMapping() throws IOException
IOException
public Map<Integer,Integer> createDirectMapping() throws IOException
IOException
public static CMapToUnicode getIdentity()
Copyright © 2016. All rights reserved.