Package com.rtfparserkit.parser
Interface IRtfSource
-
- All Known Implementing Classes:
RtfStreamSource,RtfStringSource
public interface IRtfSourceClasses implementing this interface can be used as the source of RTF data for the parser to consume.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intread()Read a single byte.intread(byte[] b)Read enough bytes to fill the array.voidunread(int c)Push back a single byte to allow it to be read again by the parser.
-
-
-
Method Detail
-
read
int read() throws java.io.IOException
Read a single byte.- Throws:
java.io.IOException
-
unread
void unread(int c) throws java.io.IOExceptionPush back a single byte to allow it to be read again by the parser.- Throws:
java.io.IOException
-
read
int read(byte[] b) throws java.io.IOException
Read enough bytes to fill the array.- Throws:
java.io.IOException
-
-