|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.schmant.task.at4j.lzma.AbstractLzmaWritableFileProxy
org.schmant.task.at4j.lzma.LzmaExistingWritableFileProxy
public class LzmaExistingWritableFileProxy
This proxy LZMA encodes data written to another, already existing
WritableFile
. It can be used together with the
ArgumentInterpreter
.
Warning: LZMA compression does not seem to work reliably. Sometimes,
when compressing, it seems to want to allocate too much (very much) memory,
and that often leads to an OutOfMemoryError
. Avoid using this class
until the issue is fixed.
The difference between this object and the
LzmaWritableFile
is that this object uses the
ArgumentInterpreter
for interpreting the proxied
file object.
The proxied object is interpreted using
InterpretAsWritableFileStrategy
.
GZipExistingWritableFileProxy
,
BZip2ExistingWritableFileProxy
,
LzmaNewWritableFileProxy
,
LzmaReadableFileProxy
Constructor Summary | |
---|---|
LzmaExistingWritableFileProxy(Object proxied)
Create a new LZMA writable file proxy for the proxied object. |
|
LzmaExistingWritableFileProxy(Object proxied,
LzmaOutputStreamSettings settings)
Create a new LZMA writable file proxy for the proxied object. |
Method Summary | |
---|---|
protected WritableFile |
getFileFromArgumentInterpreter(Object proxied)
|
Methods inherited from class org.schmant.task.at4j.lzma.AbstractLzmaWritableFileProxy |
---|
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 LzmaExistingWritableFileProxy(Object proxied)
proxied
- The proxied object.public LzmaExistingWritableFileProxy(Object proxied, LzmaOutputStreamSettings settings)
proxied
- The proxied object.settings
- The compression settings.Method Detail |
---|
protected WritableFile getFileFromArgumentInterpreter(Object proxied)
getFileFromArgumentInterpreter
in class AbstractLzmaWritableFileProxy
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |