public enum DataSource extends Enum<DataSource>
Enum Constant and Description |
---|
Cache
The info was retrieved from the internal
Cache |
Online
The info was retrieved from an
Online location |
Provided
The info was
Provided by the verifier |
Unknown
The source is
Unknown |
Modifier and Type | Method and Description |
---|---|
static DataSource |
getValueFromString(String id) |
String |
toString() |
static DataSource |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DataSource[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DataSource Unknown
Unknown
public static final DataSource Provided
Provided
by the verifierpublic static final DataSource Cache
Cache
public static final DataSource Online
Online
locationpublic static DataSource[] values()
for (DataSource c : DataSource.values()) System.out.println(c);
public static DataSource 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 toString()
toString
in class Enum<DataSource>
public static DataSource getValueFromString(String id)
Copyright © 1982–2023 Adobe Systems Incorporated. All rights reserved.