public static enum Buffer.Type extends Enum<Buffer.Type>
Enum Constant and Description |
---|
CLOJURE_BUFFER
Buffer type constant.
|
HTML_BUFFER
Buffer type constant.
|
JAVA_BUFFER
Buffer type constant.
|
MSDOS_BATCH_BUFFER
Buffer type constant.
|
PROPERTIES_BUFFER
Buffer type constant.
|
PYTHON_BUFFER
Buffer type constant.
|
SHELL_BUFFER
Buffer type constant.
|
TEXT_BUFFER
Buffer type constant.
|
XML_BUFFER
Buffer type constant.
|
Modifier and Type | Method and Description |
---|---|
static Buffer.Type |
forExtension(String extension) |
String |
getContentType() |
String |
getName() |
static Buffer.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Buffer.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Buffer.Type JAVA_BUFFER
public static final Buffer.Type CLOJURE_BUFFER
public static final Buffer.Type PYTHON_BUFFER
public static final Buffer.Type SHELL_BUFFER
public static final Buffer.Type HTML_BUFFER
public static final Buffer.Type MSDOS_BATCH_BUFFER
public static final Buffer.Type XML_BUFFER
public static final Buffer.Type PROPERTIES_BUFFER
public static final Buffer.Type TEXT_BUFFER
public static Buffer.Type[] values()
for (Buffer.Type c : Buffer.Type.values()) System.out.println(c);
public static Buffer.Type 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 getName()
public String getContentType()
public static Buffer.Type forExtension(String extension)
Copyright © 2000-2014. All Rights Reserved.