Modifier and Type | Method and Description |
---|---|
DataSource |
getDataSource()
Returns a data source (replayable input stream) containing the
data content of this leaf.
|
java.io.OutputStream |
getOutputStream()
Returns an output stream from this leaf.
|
DataSource getDataSource() throws java.io.IOException
java.io.FileNotFoundException
- if the file named by this leaf does
not existjava.io.IOException
- if some other error occursjava.io.OutputStream getOutputStream() throws java.io.IOException
java.io.IOException
- if there's some error