public class XZUtils extends Object
Modifier and Type | Method and Description |
---|---|
static String |
getCompressedFilename(String filename)
Maps the given filename to the name that the file should have after
compression with xz.
|
static String |
getUncompressedFilename(String filename)
Maps the given name of a xz-compressed file to the name that the
file should have after uncompression.
|
static boolean |
isCompressedFilename(String filename)
Detects common xz suffixes in the given filename.
|
public static boolean isCompressedFilename(String filename)
filename
- name of a filetrue
if the filename has a common xz suffix,
false
otherwisepublic static String getUncompressedFilename(String filename)
filename
- name of a filepublic static String getCompressedFilename(String filename)
filename
- name of a fileCopyright © 2012 Apache Software Foundation. All Rights Reserved.