Interface Reader
-
public interface Reader
An 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 int
read(FontInputStream stream)
Read the next byte from the input stream.void
unreadLast(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
-
-