Package org.apache.fontbox.ttf
Class CFFTable.CFFBytesource
- java.lang.Object
-
- org.apache.fontbox.ttf.CFFTable.CFFBytesource
-
- All Implemented Interfaces:
CFFParser.ByteSource
- Enclosing class:
- CFFTable
private static class CFFTable.CFFBytesource extends java.lang.Object implements CFFParser.ByteSource
Allows bytes to be re-read later by CFFParser.
-
-
Field Summary
Fields Modifier and Type Field Description private TrueTypeFont
ttf
-
Constructor Summary
Constructors Constructor Description CFFBytesource(TrueTypeFont ttf)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]
getBytes()
Returns the source bytes.
-
-
-
Field Detail
-
ttf
private final TrueTypeFont ttf
-
-
Constructor Detail
-
CFFBytesource
CFFBytesource(TrueTypeFont ttf)
-
-
Method Detail
-
getBytes
public byte[] getBytes() throws java.io.IOException
Description copied from interface:CFFParser.ByteSource
Returns the source bytes. May be called more than once.- Specified by:
getBytes
in interfaceCFFParser.ByteSource
- Throws:
java.io.IOException
-
-