public class RtfStreamSource extends Object implements IRtfSource
| Constructor and Description |
|---|
RtfStreamSource(InputStream stream) |
| Modifier and Type | Method and Description |
|---|---|
int |
read()
Read a single byte.
|
int |
read(byte[] b)
Read enough bytes to fill the array.
|
void |
unread(int c)
Push back a single byte to allow it to be read again by the parser.
|
public RtfStreamSource(InputStream stream)
public int read()
throws IOException
IRtfSourceread in interface IRtfSourceIOExceptionpublic void unread(int c)
throws IOException
IRtfSourceunread in interface IRtfSourceIOExceptionpublic int read(byte[] b)
throws IOException
IRtfSourceread in interface IRtfSourceIOExceptionCopyright © 2013–2018. All rights reserved.