public enum SourceType extends Enum<SourceType>
Enum Constant and Description |
---|
ANNOTATION |
DOM |
FILE |
INPUT_STREAM |
JAR |
OTHER |
RESOURCE |
STRING |
URL |
Modifier and Type | Method and Description |
---|---|
String |
getLegacyTypeText() |
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 RESOURCE
public static final SourceType FILE
public static final SourceType INPUT_STREAM
public static final SourceType URL
public static final SourceType STRING
public static final SourceType DOM
public static final SourceType JAR
public static final SourceType ANNOTATION
public static final SourceType OTHER
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 String getLegacyTypeText()
Copyright © 2017 JBoss by Red Hat. All rights reserved.