public class XMLSequence extends InputStream
| Constructor and Description |
|---|
XMLSequence(InputStream input)
Create a XML Sequence.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
boolean |
hasNext()
Is another XML segment available.
|
void |
mark(int readLimit) |
boolean |
markSupported() |
InputStream |
next()
Returns the next XML segment.
|
int |
read() |
void |
reset() |
available, read, read, skippublic XMLSequence(InputStream input)
input - stream to read frompublic boolean hasNext()
public InputStream next() throws IOException
IOException - if read failspublic int read()
throws IOException
read in class InputStreamIOExceptionpublic void mark(int readLimit)
mark in class InputStreampublic boolean markSupported()
markSupported in class InputStreampublic void reset()
throws IOException
reset in class InputStreamIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class InputStreamIOExceptionCopyright © 2016. All rights reserved.