Package org.docx4j.fonts.fop.fonts.cff
Class FOPCFFDataInput
java.lang.Object
org.apache.fontbox.cff.DataInputByteArray
org.docx4j.fonts.fop.fonts.cff.FOPCFFDataInput
- All Implemented Interfaces:
org.apache.fontbox.cff.DataInput
public class FOPCFFDataInput
extends org.apache.fontbox.cff.DataInputByteArray
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintbooleanintlength()intpeekUnsignedByte(int offset) bytereadByte()byte[]readBytes(int length) intvoidsetPosition(int position) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.fontbox.cff.DataInput
readInt, readOffset, readShort, readUnsignedShort
-
Constructor Details
-
FOPCFFDataInput
public FOPCFFDataInput(byte[] buffer)
-
-
Method Details
-
hasRemaining
- Specified by:
hasRemainingin interfaceorg.apache.fontbox.cff.DataInput- Overrides:
hasRemainingin classorg.apache.fontbox.cff.DataInputByteArray- Throws:
IOException
-
getPosition
public int getPosition()- Specified by:
getPositionin interfaceorg.apache.fontbox.cff.DataInput- Overrides:
getPositionin classorg.apache.fontbox.cff.DataInputByteArray
-
setPosition
- Specified by:
setPositionin interfaceorg.apache.fontbox.cff.DataInput- Overrides:
setPositionin classorg.apache.fontbox.cff.DataInputByteArray- Throws:
IOException
-
readByte
- Specified by:
readBytein interfaceorg.apache.fontbox.cff.DataInput- Overrides:
readBytein classorg.apache.fontbox.cff.DataInputByteArray- Throws:
IOException
-
readUnsignedByte
- Specified by:
readUnsignedBytein interfaceorg.apache.fontbox.cff.DataInput- Overrides:
readUnsignedBytein classorg.apache.fontbox.cff.DataInputByteArray- Throws:
IOException
-
peekUnsignedByte
- Specified by:
peekUnsignedBytein interfaceorg.apache.fontbox.cff.DataInput- Overrides:
peekUnsignedBytein classorg.apache.fontbox.cff.DataInputByteArray- Throws:
IOException
-
readBytes
- Specified by:
readBytesin interfaceorg.apache.fontbox.cff.DataInput- Overrides:
readBytesin classorg.apache.fontbox.cff.DataInputByteArray- Throws:
IOException
-
length
- Specified by:
lengthin interfaceorg.apache.fontbox.cff.DataInput- Overrides:
lengthin classorg.apache.fontbox.cff.DataInputByteArray- Throws:
IOException
-