public class LZMACompressionProvider extends java.lang.Object implements CompressionProvider
Constructor and Description |
---|
LZMACompressionProvider() |
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.
|
public java.io.InputStream getInputStream(java.io.File file) throws java.io.FileNotFoundException
CompressionProvider
getInputStream
in interface CompressionProvider
file
- the file to open, with extension at it is on the diskjava.io.FileNotFoundException
- when the file is not readablepublic java.io.OutputStream getOutputStream(java.io.File file) throws java.io.FileNotFoundException
CompressionProvider
getOutputStream
in interface CompressionProvider
file
- the file to open, whith extension as it shall be createdjava.io.FileNotFoundException
- when the file cannot be created