Modifier and Type | Method and Description |
---|---|
static String |
getCompressedFilename(String fileName)
Maps the given file name 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 file name.
|
public static boolean isCompressedFilename(String fileName)
fileName
- name of a filetrue
if the file name has a common gzip suffix,
false
otherwisepublic static String getUncompressedFilename(String fileName)
fileName
- name of a filepublic static String getCompressedFilename(String fileName)
fileName
- name of a fileCopyright © 2020 The Apache Software Foundation. All rights reserved.