|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.schmant.task.at4j.bzip2.AbstractBZip2WritableFileProxy
org.schmant.task.at4j.bzip2.BZip2ExistingWritableFileProxy
public class BZip2ExistingWritableFileProxy
This proxy bzip2 encodes data written to another, already existing
WritableFile. It can be used together with the
ArgumentInterpreter.
The difference between this object and the
BZip2WritableFile is that this object uses the
ArgumentInterpreter for interpreting the proxied
file object.
The proxied object is interpreted using
InterpretAsWritableFileStrategy.
GZipExistingWritableFileProxy,
LzmaExistingWritableFileProxy,
BZip2NewWritableFileProxy,
BZip2ReadableFileProxy| Constructor Summary | |
|---|---|
BZip2ExistingWritableFileProxy(Object proxied)
Create a new bzip2 writable file proxy. |
|
BZip2ExistingWritableFileProxy(Object proxied,
BZip2WritableFileSettings settings)
Create a new bzip2 writable file proxy. |
|
BZip2ExistingWritableFileProxy(Object proxied,
CompressionLevel level,
boolean writeFileHeader)
Deprecated. |
|
BZip2ExistingWritableFileProxy(Object proxied,
int blockSize,
boolean writeFileHeader)
Deprecated. |
|
| Method Summary | |
|---|---|
protected WritableFile |
getFileFromArgumentInterpreter(Object proxied)
|
| Methods inherited from class org.schmant.task.at4j.bzip2.AbstractBZip2WritableFileProxy |
|---|
getFile, getWriteLock, isWriteLockedByCurrentThread, lockForWriting, openChannelForAppend, openChannelForWrite, openForAppend, openForWrite |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BZip2ExistingWritableFileProxy(Object proxied)
proxied - The proxied object. This will be interpreted into a
existing writable file when the client writes to the proxy.
public BZip2ExistingWritableFileProxy(Object proxied,
BZip2WritableFileSettings settings)
proxied - The proxied object. This will be interpreted into a
existing writable file when the client writes to the proxy.settings - The bzip2 settings. The settings object is cloned by
the created proxy.
@Deprecated
public BZip2ExistingWritableFileProxy(Object proxied,
int blockSize,
boolean writeFileHeader)
throws IllegalArgumentException
proxied - The proxied object.blockSize - The bzip2 block size, in 100kb increments.writeFileHeader - Should the bzip2 file header ("BZ") be written to
the file?
IllegalArgumentException - If the block size is not between 1 and 9 (inclusive).
@Deprecated
public BZip2ExistingWritableFileProxy(Object proxied,
CompressionLevel level,
boolean writeFileHeader)
proxied - The proxied object.level - The compression level.writeFileHeader - Should the bzip2 file header ("BZ") be written to
the file?| Method Detail |
|---|
protected WritableFile getFileFromArgumentInterpreter(Object proxied)
getFileFromArgumentInterpreter in class AbstractBZip2WritableFileProxy
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||