de.uplanet.lucy.server.util.image
Enum IMAGE_FORMAT
java.lang.Object
java.lang.Enum<IMAGE_FORMAT>
de.uplanet.lucy.server.util.image.IMAGE_FORMAT
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<IMAGE_FORMAT>
@ConstantClass
@Scriptable
public enum IMAGE_FORMAT
- extends java.lang.Enum<IMAGE_FORMAT>
- Version:
- $Revision: 74095 $
Method Summary |
static IMAGE_FORMAT |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static IMAGE_FORMAT[] |
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 |
PNG
public static final IMAGE_FORMAT PNG
JPEG
public static final IMAGE_FORMAT JPEG
BMP
public static final IMAGE_FORMAT BMP
values
public static IMAGE_FORMAT[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (IMAGE_FORMAT c : IMAGE_FORMAT.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static IMAGE_FORMAT valueOf(java.lang.String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is null
Last updated: 2011-08-11 10-04
Copyright © 2000-2011 United Planet. All Rights Reserved.