public enum ImageStreamFormat extends Enum<ImageStreamFormat>
Enumerable of data formats of images.
| Enum Constant and Description |
|---|
Bmp
Specifies that the image format is BMP.
|
Gif
Specifies that the image format is GIF.
|
Jpg
Specifies that the image format is JPG.
|
Png
Specifies that the image format is PNG.
|
Tiff
Specifies that the image format is TIFF.
|
| Modifier and Type | Method and Description |
|---|---|
static ImageStreamFormat |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ImageStreamFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ImageStreamFormat Bmp
Specifies that the image format is BMP.
public static final ImageStreamFormat Gif
Specifies that the image format is GIF.
public static final ImageStreamFormat Jpg
Specifies that the image format is JPG.
public static final ImageStreamFormat Png
Specifies that the image format is PNG.
public static final ImageStreamFormat Tiff
Specifies that the image format is TIFF.
public static ImageStreamFormat 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 static ImageStreamFormat[] values()
for (ImageStreamFormat c : ImageStreamFormat.values()) System.out.println(c);
Copyright © 2014. All rights reserved.