public interface FileAsStream
Modifier and Type | Method and Description |
---|---|
java.io.InputStream |
getInputStreamForName(java.lang.String filename)
Returns an
InputStream object corresponding to the provided file name |
java.io.OutputStream |
getOutputStreamForName(java.lang.String filename)
Returns an
OutputStream object corresponding to the provided file name |
java.io.InputStream getInputStreamForName(java.lang.String filename) throws java.io.IOException
InputStream
object corresponding to the provided file namefilename
- the name of the file to openInputStream
java.io.IOException
- in case of error when opening associated filejava.io.OutputStream getOutputStreamForName(java.lang.String filename) throws java.io.IOException
OutputStream
object corresponding to the provided file namefilename
- the name of the file to openOutputStream
java.io.IOException
- in case of error when opening associated file