public class XBTCPRemoteServer.XBTPullInputStream extends XBTInputTokenStream
| Constructor and Description |
|---|
XBTPullInputStream(XBTPullProvider producer) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
boolean |
finished()
Returns true if stream ended.
|
XBTToken |
pullXBTToken()
Pull next token.
|
void |
reset()
Resets source - jump to beginning of stream.
|
void |
skip(long tokenCount)
Skip given count of tokens in stream.
|
public XBTPullInputStream(XBTPullProvider producer)
public XBTToken pullXBTToken() throws XBProcessingException
XBTPullProviderXBProcessingExceptionpublic void reset()
throws java.io.IOException
XBTInputTokenStreamreset in class XBTInputTokenStreamjava.io.IOException - if not possible to resetpublic boolean finished()
throws java.io.IOException
XBTInputTokenStreamfinished in class XBTInputTokenStreamjava.io.IOException - if unable to determine stream endpublic void skip(long tokenCount)
throws XBProcessingException,
java.io.IOException
XBTInputTokenStreamskip in class XBTInputTokenStreamtokenCount - count of tokensjava.io.IOExceptionXBProcessingExceptionpublic void close()
throws java.io.IOException
java.io.IOException