public interface CompressionProvider
| Modifier and Type | Method and Description |
|---|---|
java.io.InputStream |
getInputStream(java.io.File file)
Opens the given file for reading.
|
java.io.OutputStream |
getOutputStream(java.io.File file)
Opens the given file for writing.
|
java.io.InputStream getInputStream(java.io.File file)
throws java.io.FileNotFoundException
file - the file to open, with extension at it is on the diskjava.io.FileNotFoundException - when the file is not readablejava.io.OutputStream getOutputStream(java.io.File file)
throws java.io.FileNotFoundException
file - the file to open, whith extension as it shall be createdjava.io.FileNotFoundException - when the file cannot be created