|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.commons.compress.compressors.gzip.GzipUtils
public class GzipUtils
Utility code for the gzip compression format.
Method Summary | |
---|---|
static String |
getCompressedFilename(String filename)
Maps the given filename to the name that the file should have after compression with gzip. |
static String |
getUncompressedFilename(String filename)
Maps the given name of a gzip-compressed file to the name that the file should have after uncompression. |
static boolean |
isCompressedFilename(String filename)
Detects common gzip suffixes in the given filename. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static boolean isCompressedFilename(String filename)
filename
- name of a file
true
if the filename has a common gzip suffix,
false
otherwisepublic static String getUncompressedFilename(String filename)
filename
- name of a file
public static String getCompressedFilename(String filename)
filename
- name of a file
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |