|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectadams.core.io.LzfUtils
public class LzfUtils
Helper class for LZF related operations.
| Field Summary | |
|---|---|
static String |
EXTENSION
the default extension. |
| Constructor Summary | |
|---|---|
LzfUtils()
|
|
| Method Summary | |
|---|---|
static String |
compress(File inputFile,
int buffer)
Compresses the specified lzma archive to a file with the ".lzf" extension. |
static String |
compress(File inputFile,
int buffer,
File outputFile)
Compresses the specified lzma archive. |
static String |
compress(File inputFile,
int buffer,
File outputFile,
boolean removeInput)
Compresses the specified lzma archive. |
static String |
decompress(File archiveFile,
int buffer)
Decompresses the specified lzma archive to a file without the ".lzf" extension. |
static String |
decompress(File archiveFile,
int buffer,
File outputFile)
Decompresses the specified lzma archive. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String EXTENSION
| Constructor Detail |
|---|
public LzfUtils()
| Method Detail |
|---|
public static String decompress(File archiveFile,
int buffer)
archiveFile - the gzip file to decompressbuffer - the buffer size to use
public static String decompress(File archiveFile,
int buffer,
File outputFile)
archiveFile - the lzma file to decompressbuffer - the buffer size to useoutputFile - the destination file
public static String compress(File inputFile,
int buffer)
inputFile - the file to compressbuffer - the buffer size to use
public static String compress(File inputFile,
int buffer,
File outputFile)
inputFile - the file to compressbuffer - the buffer size to useoutputFile - the destination file (the archive)
public static String compress(File inputFile,
int buffer,
File outputFile,
boolean removeInput)
inputFile - the file to compressbuffer - the buffer size to useoutputFile - the destination file (the archive)removeInput - whether to remove the input file
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||