public enum PictureFormat extends Enum<PictureFormat>
Enum Constant and Description |
---|
PF_EMF
EMF format.
|
PF_JPG
JPG format.
|
PF_PICT
PICT format.
|
PF_PNG
PNG format.
|
PF_UNKNOWN
Unknown picture format.
|
PF_WMF
WMF format.
|
Modifier and Type | Method and Description |
---|---|
String |
getExtension() |
String |
getMimeType() |
static PictureFormat |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PictureFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PictureFormat PF_UNKNOWN
public static final PictureFormat PF_PICT
public static final PictureFormat PF_PNG
public static final PictureFormat PF_JPG
public static final PictureFormat PF_EMF
public static final PictureFormat PF_WMF
public static PictureFormat[] values()
for (PictureFormat c : PictureFormat.values()) System.out.println(c);
public static PictureFormat 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 String getExtension()
public String getMimeType()
Copyright © 2019 Habarisoft. All rights reserved.