public static enum SPicture.Format extends Enum<SPicture.Format>
Modifier and Type | Method and Description |
---|---|
String |
getFileExtension() |
static SPicture.Format |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SPicture.Format |
valueOfFileExtension(String fileExtension)
Convert file extension to picture format
|
static SPicture.Format[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SPicture.Format DIB
public static final SPicture.Format EMF
public static final SPicture.Format GIF
public static final SPicture.Format JPG
public static final SPicture.Format PICT
public static final SPicture.Format PNG
public static final SPicture.Format WMF
public static SPicture.Format[] values()
for (SPicture.Format c : SPicture.Format.values()) System.out.println(c);
public static SPicture.Format 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 getFileExtension()
public static SPicture.Format valueOfFileExtension(String fileExtension)
fileExtension
- Copyright © 2020. All rights reserved.