net.sf.filePiper.processors
Enum ImageSizerProcessor.ImageFormat
java.lang.Object
java.lang.Enum<ImageSizerProcessor.ImageFormat>
net.sf.filePiper.processors.ImageSizerProcessor.ImageFormat
- All Implemented Interfaces:
- Serializable, Comparable<ImageSizerProcessor.ImageFormat>
- Enclosing class:
- ImageSizerProcessor
public static enum ImageSizerProcessor.ImageFormat
- extends Enum<ImageSizerProcessor.ImageFormat>
jpg
public static final ImageSizerProcessor.ImageFormat jpg
png
public static final ImageSizerProcessor.ImageFormat png
gif
public static final ImageSizerProcessor.ImageFormat gif
values
public static ImageSizerProcessor.ImageFormat[] 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 (ImageSizerProcessor.ImageFormat c : ImageSizerProcessor.ImageFormat.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static ImageSizerProcessor.ImageFormat valueOf(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:
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
Copyright © 2011. All Rights Reserved.