public enum PicType extends Enum<PicType>
Enum Constant and Description |
---|
DIB |
EMF |
EPS |
GIF |
JPEG |
PICT |
PNG |
TIFF |
WMF |
WPG |
Modifier and Type | Method and Description |
---|---|
int |
getValue()
获取图片类型对应值
|
static PicType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PicType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PicType EMF
public static final PicType WMF
public static final PicType PICT
public static final PicType JPEG
public static final PicType PNG
public static final PicType DIB
public static final PicType GIF
public static final PicType TIFF
public static final PicType EPS
public static final PicType WPG
public static PicType[] values()
for (PicType c : PicType.values()) System.out.println(c);
public static PicType 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 int getValue()
Copyright © 2024. All rights reserved.