public abstract class TTFInput extends Object
| Constructor and Description |
|---|
TTFInput() |
| Modifier and Type | Method and Description |
|---|---|
void |
checkShortZero() |
static boolean |
checkZeroBit(int b,
int bit,
String name) |
boolean |
flagBit(int bit) |
static boolean |
flagBit(int b,
int bit) |
void |
popPos() |
void |
pushPos() |
abstract int |
readByte() |
void |
readByteFlags()
Reads byte flags into a temporary variable which can be queried using the
flagBit method.
|
abstract byte |
readChar() |
double |
readF2Dot14() |
int[] |
readFFFFTerminatedUShortArray() |
double |
readFixed() |
abstract void |
readFully(byte[] b) |
short |
readFWord() |
abstract int |
readLong() |
abstract int |
readRawByte() |
abstract short |
readShort() |
short[] |
readShortArray(int n) |
int |
readUFWord() |
abstract long |
readULong() |
abstract int |
readUShort() |
int[] |
readUShortArray(int n) |
void |
readUShortFlags()
Reads unsigned short flags into a temporary variable which can be queried
using the flagBit method.
|
abstract void |
seek(long offset) |
public abstract void seek(long offset)
throws IOException
IOExceptionpublic void pushPos()
throws IOException
IOExceptionpublic void popPos()
throws IOException
IOExceptionpublic abstract int readRawByte()
throws IOException
IOExceptionpublic abstract int readByte()
throws IOException
IOExceptionpublic abstract short readShort()
throws IOException
IOExceptionpublic abstract int readUShort()
throws IOException
IOExceptionpublic abstract long readULong()
throws IOException
IOExceptionpublic abstract int readLong()
throws IOException
IOExceptionpublic abstract byte readChar()
throws IOException
IOExceptionpublic final short readFWord()
throws IOException
IOExceptionpublic final int readUFWord()
throws IOException
IOExceptionpublic final double readFixed()
throws IOException
IOExceptionpublic final double readF2Dot14()
throws IOException
IOExceptionpublic final void checkShortZero()
throws IOException
IOExceptionpublic static final boolean checkZeroBit(int b,
int bit,
String name)
throws IOException
IOExceptionpublic void readUShortFlags()
throws IOException
IOExceptionpublic void readByteFlags()
throws IOException
IOExceptionpublic boolean flagBit(int bit)
public static boolean flagBit(int b,
int bit)
public abstract void readFully(byte[] b)
throws IOException
IOExceptionpublic int[] readFFFFTerminatedUShortArray()
throws IOException
IOExceptionpublic int[] readUShortArray(int n)
throws IOException
IOExceptionpublic short[] readShortArray(int n)
throws IOException
IOExceptionCopyright © 2014. All rights reserved.