|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<Metadata.MetaType>
org.basex.build.fs.parser.Metadata.MetaType
public static enum Metadata.MetaType
Available metadata types.
| Enum Constant Summary | |
|---|---|
APPLICATION
Application resource. |
|
ARCHIVE
Archive resource (e.g. |
|
AUDIO
Audio resource (e.g. |
|
CONTACT
Contact resource (e.g. |
|
DOCUMENT
Document resource (e.g. |
|
IMAGE
Image resource (e.g. |
|
MESSAGE
Message resource (e.g. email). |
|
MOVIE
Movie resource (e.g. |
|
PRESENTATION
Presentation resource (e.g. |
|
TEXT
Text resource (e.g. plain text file). |
|
UNKNOWN
Unknown resource type. |
|
XML
XML(-based) resource. |
|
| Method Summary | |
|---|---|
byte[] |
get()
Returns the enum value as byte array. |
static Metadata.MetaType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Metadata.MetaType[] |
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 Metadata.MetaType APPLICATION
public static final Metadata.MetaType ARCHIVE
public static final Metadata.MetaType AUDIO
public static final Metadata.MetaType CONTACT
public static final Metadata.MetaType DOCUMENT
public static final Metadata.MetaType IMAGE
public static final Metadata.MetaType MESSAGE
public static final Metadata.MetaType MOVIE
public static final Metadata.MetaType PRESENTATION
public static final Metadata.MetaType TEXT
public static final Metadata.MetaType UNKNOWN
public static final Metadata.MetaType XML
| Method Detail |
|---|
public static Metadata.MetaType[] values()
for (Metadata.MetaType c : Metadata.MetaType.values()) System.out.println(c);
public static Metadata.MetaType 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 nullpublic byte[] get()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||