| 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()
Nodenull.public String getName()
Nodepublic DataSource getDataSource() throws IOException
LeafgetDataSource in interface LeafFileNotFoundException - if the file named by this leaf does
not existIOException - if some other error occurspublic OutputStream getOutputStream() throws IOException
LeafgetOutputStream in interface LeafIOException - if there's some errorCopyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.