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, skip
public 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 InputStream
IOException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class InputStream
IOException
public int available() throws IOException
available
in class InputStream
IOException
Copyright © 2001–2017 XMLUnit. All rights reserved.