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, skip
public 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 InputStream
IOException
public void mark(int readLimit)
mark
in class InputStream
public boolean markSupported()
markSupported
in class InputStream
public void reset() throws IOException
reset
in class InputStream
IOException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class InputStream
IOException
Copyright © 2016. All rights reserved.