Class OFDirTabEntry
java.lang.Object
org.docx4j.fonts.fop.fonts.truetype.OFDirTabEntry
public class OFDirTabEntry
extends java.lang.Object
This class represents an entry to a TrueType font's Dir Tab.
-
Constructor Summary
Constructors Constructor Description OFDirTabEntry()OFDirTabEntry(long offset, long length) -
Method Summary
Modifier and Type Method Description longgetChecksum()Returns the checksum.longgetLength()Returns the length.longgetOffset()Returns the offset.byte[]getTag()Returns the tag bytes.java.lang.StringgetTagString()Returns the tag bytes.java.lang.Stringread(FontFileReader in)Read Dir Tab.java.lang.StringtoString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Constructor Details
-
OFDirTabEntry
public OFDirTabEntry() -
OFDirTabEntry
public OFDirTabEntry(long offset, long length)
-
-
Method Details
-
read
Read Dir Tab.- Parameters:
in- font file reader- Returns:
- tag name
- Throws:
java.io.IOException- upon I/O exception
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-
getChecksum
public long getChecksum()Returns the checksum.- Returns:
- int
-
getLength
public long getLength()Returns the length.- Returns:
- long
-
getOffset
public long getOffset()Returns the offset.- Returns:
- long
-
getTag
public byte[] getTag()Returns the tag bytes.- Returns:
- byte[]
-
getTagString
public java.lang.String getTagString()Returns the tag bytes.- Returns:
- byte[]
-