Interface Reader
-
public interface ReaderAn interface used to hide the current encryption of a type1 font from the Tokenizer class.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intread(FontInputStream stream)Read the next byte from the input stream.voidunreadLast(FontInputStream stream)
-
-
-
Method Detail
-
read
int read(FontInputStream stream) throws java.io.IOException, InvalidFontException
Read the next byte from the input stream.- Parameters:
stream-- Returns:
- the byte read or -1 if EOF
- Throws:
java.io.IOException- Propogated from stream.readInvalidFontException- Thrown if EOF is hit.
-
unreadLast
void unreadLast(FontInputStream stream) throws java.io.IOException
- Throws:
java.io.IOException
-
-