public class NodeInputStream extends InputStream
| Constructor and Description |
|---|
NodeInputStream(Node rootNode)
Simple constructor
|
NodeInputStream(Node rootNode,
Properties outputProperties)
Simple constructor
|
| Modifier and Type | Method and Description |
|---|---|
int |
available()
InputStream method
|
void |
close()
InputStream method
Note that calling close allows a repeated read of the content
|
int |
read()
InputStream method
|
mark, markSupported, read, read, reset, skippublic NodeInputStream(Node rootNode)
rootNode - the node to be presented as an input streampublic NodeInputStream(Node rootNode, Properties outputProperties)
rootNode - the node to be presented as an input streampublic int read()
throws IOException
read in class InputStreamIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class InputStreamIOExceptionpublic int available()
throws IOException
available in class InputStreamIOExceptionCopyright © 2001–2016 XMLUnit. All rights reserved.