public enum BuiltInClipboardFormat extends java.lang.Enum<BuiltInClipboardFormat> implements ClipboardFormat
Enum Constant and Description |
---|
MCEDIT_SCHEMATIC
The Schematic format used by MCEdit.
|
SPONGE_SCHEMATIC |
Modifier and Type | Method and Description |
---|---|
java.util.Set<java.lang.String> |
getAliases()
Get a set of aliases.
|
java.util.Set<java.lang.String> |
getFileExtensions()
Get the file extensions this format is commonly known to use.
|
java.lang.String |
getName()
Returns the name of this format.
|
static BuiltInClipboardFormat |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BuiltInClipboardFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
getPrimaryFileExtension, getReader, getWriter, isFormat
public static final BuiltInClipboardFormat MCEDIT_SCHEMATIC
public static final BuiltInClipboardFormat SPONGE_SCHEMATIC
public static BuiltInClipboardFormat[] values()
for (BuiltInClipboardFormat c : BuiltInClipboardFormat.values()) System.out.println(c);
public static BuiltInClipboardFormat 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 getName()
ClipboardFormat
getName
in interface ClipboardFormat
public java.util.Set<java.lang.String> getAliases()
ClipboardFormat
getAliases
in interface ClipboardFormat
public java.util.Set<java.lang.String> getFileExtensions()
ClipboardFormat
ClipboardFormat.getPrimaryFileExtension()
.getFileExtensions
in interface ClipboardFormat