Constructor and Description |
---|
ErrorLeaf(Branch parent,
Throwable err)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
DataSource |
getDataSource()
Returns a data source (replayable input stream) containing the
data content of this leaf.
|
String |
getName()
Returns the name of this node.
|
OutputStream |
getOutputStream()
Returns an output stream from this leaf.
|
Branch |
getParent()
Returns the parent branch of this node.
|
String |
toString() |
public Branch getParent()
Node
null
.public String getName()
Node
public DataSource getDataSource() throws IOException
Leaf
getDataSource
in interface Leaf
FileNotFoundException
- if the file named by this leaf does
not existIOException
- if some other error occurspublic OutputStream getOutputStream() throws IOException
Leaf
getOutputStream
in interface Leaf
IOException
- if there's some errorCopyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.