public enum FileNameExtension extends Enum<FileNameExtension>
FileNameExtension
define values useful when working with files or
a file-system.Enum Constant and Description |
---|
BACKUP |
CIPHER_VERSION
The file suffix used for files containing a single cipher version.
|
CSV |
GZIP |
JAR |
TAR |
TAR_GZIP |
TEMP |
ZIP |
Modifier and Type | Method and Description |
---|---|
String |
getExtension() |
static FileNameExtension |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FileNameExtension[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FileNameExtension TEMP
public static final FileNameExtension BACKUP
public static final FileNameExtension TAR
public static final FileNameExtension GZIP
public static final FileNameExtension TAR_GZIP
public static final FileNameExtension CSV
public static final FileNameExtension JAR
public static final FileNameExtension ZIP
public static final FileNameExtension CIPHER_VERSION
public static FileNameExtension[] values()
for (FileNameExtension c : FileNameExtension.values()) System.out.println(c);
public static FileNameExtension valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getExtension()
Copyright © 2016. All rights reserved.