public enum SourceType extends Enum<SourceType>
| Enum Constant and Description |
|---|
ABSENT_SOURCE |
ABSENT_TEXT |
PAN |
TEXT |
TPL |
| Modifier and Type | Method and Description |
|---|---|
String |
getExtension() |
static List<String> |
getExtensions() |
static boolean |
hasSourceFileExtension(String filename) |
boolean |
isAbsent() |
boolean |
isSource() |
static SourceType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SourceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SourceType PAN
public static final SourceType TPL
public static final SourceType TEXT
public static final SourceType ABSENT_SOURCE
public static final SourceType ABSENT_TEXT
public static SourceType[] values()
for (SourceType c : SourceType.values()) System.out.println(c);
public static SourceType 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 boolean isSource()
public boolean isAbsent()
public String getExtension()
public static boolean hasSourceFileExtension(String filename)
Copyright © 2014 Quattor. All Rights Reserved.