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