Interface Reader
public interface Reader
An interface used to hide the current encryption of a type1 font from the
Tokenizer class.
-
Method Summary
Modifier and TypeMethodDescriptionintread(FontInputStream stream) Read the next byte from the input stream.voidunreadLast(FontInputStream stream)
-
Method Details
-
read
Read the next byte from the input stream.- Parameters:
stream-- Returns:
- the byte read or -1 if EOF
- Throws:
IOException- Propogated from stream.readInvalidFontException- Thrown if EOF is hit.
-
unreadLast
- Throws:
IOException
-