com.sibvisions.util.type
Enum ImageUtil.ImageFormat

java.lang.Object
  extended by java.lang.Enum<ImageUtil.ImageFormat>
      extended by com.sibvisions.util.type.ImageUtil.ImageFormat
All Implemented Interfaces:
Serializable, Comparable<ImageUtil.ImageFormat>
Enclosing class:
ImageUtil

public static enum ImageUtil.ImageFormat
extends Enum<ImageUtil.ImageFormat>

The image formats.


Enum Constant Summary
BMP
          bmp format.
GIF
          gif format.
JBIG2
          jbig2 format.
JPG
          jpg format.
JPG2000
          jpg2000 format.
PNG
          png format.
TIFF
          tiff format.
UNKNOWN
          unknown image format.
WMF
          wmf format.
 
Method Summary
static ImageUtil.ImageFormat valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ImageUtil.ImageFormat[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

UNKNOWN

public static final ImageUtil.ImageFormat UNKNOWN
unknown image format.


JPG

public static final ImageUtil.ImageFormat JPG
jpg format.


JPG2000

public static final ImageUtil.ImageFormat JPG2000
jpg2000 format.


GIF

public static final ImageUtil.ImageFormat GIF
gif format.


PNG

public static final ImageUtil.ImageFormat PNG
png format.


WMF

public static final ImageUtil.ImageFormat WMF
wmf format.


BMP

public static final ImageUtil.ImageFormat BMP
bmp format.


TIFF

public static final ImageUtil.ImageFormat TIFF
tiff format.


JBIG2

public static final ImageUtil.ImageFormat JBIG2
jbig2 format.

Method Detail

values

public static final ImageUtil.ImageFormat[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(ImageUtil.ImageFormat c : ImageUtil.ImageFormat.values())
        System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they're declared

valueOf

public static ImageUtil.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


Copyright © 2009 SIB Visions GmbH. All Rights Reserved.