public class CFFParser
extends java.lang.Object
| Modifier and Type | Class | Description |
|---|---|---|
static interface |
CFFParser.ByteSource |
Source from which bytes may be read in the future.
|
| Constructor | Description |
|---|---|
CFFParser() |
| Modifier and Type | Method | Description |
|---|---|---|
java.util.List<CFFFont> |
parse(byte[] bytes) |
Parse CFF font using a byte array as input.
|
java.util.List<CFFFont> |
parse(byte[] bytes,
CFFParser.ByteSource source) |
Parse CFF font using byte array, also passing in a byte source for future use.
|
java.lang.String |
toString() |
public java.util.List<CFFFont> parse(byte[] bytes, CFFParser.ByteSource source) throws java.io.IOException
bytes - source bytessource - source to re-read bytes from in the futurejava.io.IOException - If there is an error reading from the streampublic java.util.List<CFFFont> parse(byte[] bytes) throws java.io.IOException
bytes - the given byte arrayjava.io.IOException - If there is an error reading from the streampublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2008–2018. All rights reserved.