public enum FileContentType extends java.lang.Enum<FileContentType>
Enum Constant and Description |
---|
HTML
The file contains HTML encoded in UTF-8 format.
|
OTHER
The file has a content type that cannot be edited in the editors that associated with the
other file content types in this enumeration class.
|
TEXT
The file contains text encoded in UTF-8 format.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toString() |
static FileContentType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FileContentType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FileContentType OTHER
FilePropertyDescriptor
s.public static final FileContentType TEXT
public static final FileContentType HTML
public static FileContentType[] values()
for (FileContentType c : FileContentType.values()) System.out.println(c);
public static FileContentType 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 namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String toString()
toString
in class java.lang.Enum<FileContentType>