public class BZip2CompressionProvider extends java.lang.Object implements CompressionProvider
| Constructor and Description |
|---|
BZip2CompressionProvider() |
| 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
CompressionProvidergetInputStream in interface CompressionProviderfile - 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
CompressionProvidergetOutputStream in interface CompressionProviderfile - the file to open, whith extension as it shall be createdjava.io.FileNotFoundException - when the file cannot be created