public enum FileExtension extends Enum<FileExtension>
Enum Constant and Description |
---|
BACKUP |
CLASS |
JAVA |
PROPERTIES |
TXT |
VELOCITY_TEMPLATE |
Modifier and Type | Method and Description |
---|---|
String |
getExtension() |
static FileExtension |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FileExtension[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FileExtension BACKUP
public static final FileExtension CLASS
public static final FileExtension JAVA
public static final FileExtension PROPERTIES
public static final FileExtension TXT
public static final FileExtension VELOCITY_TEMPLATE
public static FileExtension[] values()
for (FileExtension c : FileExtension.values()) System.out.println(c);
public static FileExtension 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 © 2015–2017 Alpha Ro Group UG (haftungsbeschrÀngt). All rights reserved.