|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<IdentifyResult.Method> eu.planets_project.services.identify.IdentifyResult.Method
public static enum IdentifyResult.Method
The Method enumeration is intended to allow you state what kind of evidence was used to create this identification result.
Enum Constant Summary | |
---|---|
EXTENSION
'Extension' means that this identification was based purely on the filename extension of the supplied digital object. |
|
FULL_PARSE
'Full Parse' means that this identification was based on a detailed inspection of the digital object bytestream, and every single bit was 'touched'. |
|
MAGIC
'Magic' means that this identification was based on matching the digital object bytes against a bytestream signature, a.k.a. |
|
METADATA
'Metadata' means that this identification was based on other metadata supplied with the digital object, but the objects bytes were not inspected. |
|
OTHER
Means that this identification was based on some other evidence. |
|
PARTIAL_PARSE
'Partial Parse' means that this identification was based on a detailed inspection of the digital object bytestreams, and a significant proportion of the objects bytes were used to reach this conclusion. |
Method Summary | |
---|---|
static IdentifyResult.Method |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static IdentifyResult.Method[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final IdentifyResult.Method EXTENSION
public static final IdentifyResult.Method METADATA
public static final IdentifyResult.Method MAGIC
public static final IdentifyResult.Method PARTIAL_PARSE
public static final IdentifyResult.Method FULL_PARSE
public static final IdentifyResult.Method OTHER
Method Detail |
---|
public static IdentifyResult.Method[] values()
for (IdentifyResult.Method c : IdentifyResult.Method.values()) System.out.println(c);
public static IdentifyResult.Method valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is null
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |