public abstract class BZip2Utils extends Object
| Modifier and Type | Method and Description |
|---|---|
static String |
getCompressedFilename(String
Maps the given filename to the name that the file should have after compression with bzip2.
|
static String |
getUncompressedFilename(String
Maps the given name of a bzip2-compressed file to the name that the file should have after uncompression.
|
static boolean |
isCompressedFilename(String
Detects common bzip2 suffixes in the given filename.
|
public static boolean isCompressedFilename(Stringfilename)
filename - name of a file
true if the filename has a common bzip2 suffix,
false otherwise
public static StringgetUncompressedFilename(String filename)
filename - name of a file
public static StringgetCompressedFilename(String filename)
filename - name of a file