public static enum GifHelper.GifError extends java.lang.Enum<GifHelper.GifError>
枚举常量和说明 |
---|
CLOSE_FAILED
Failed to close given input
|
DATA_TOO_BIG
Number of pixels bigger than width * height
|
EOF_TOO_SOON
Image EOF detected before image complete.
|
IMAGE_DEFECT
Image is defective, decoding aborted
|
IMG_NOT_CONFINED
Image size exceeds screen size
|
INVALID_BYTE_BUFFER
Invalid and/or indirect byte buffer specified
|
INVALID_IMG_DIMS
Invalid image size, dimensions must be positive
|
INVALID_SCR_DIMS
Invalid screen size, dimensions must be positive
|
NO_COLOR_MAP
Neither global nor local color map found
|
NO_ERROR
Special value indicating lack of errors
|
NO_FRAMES
No frames found, at least one frame required
|
NO_IMAG_DSCR
No image descriptor detected
|
NO_SCRN_DSCR
No screen descriptor detected
|
NOT_ENOUGH_MEM
Failed to allocate required memory
|
NOT_GIF_FILE
Data is not in GIF format
|
NOT_READABLE
Given file was not opened for read
|
OPEN_FAILED
Failed to open given input
|
READ_FAILED
Failed to read from given input
|
REWIND_FAILED
Input source rewind has failed, animation is stopped
|
UNKNOWN
Unknown error, should never appear
|
WRONG_RECORD
Wrong record type detected
|
限定符和类型 | 字段和说明 |
---|---|
java.lang.String |
description
Human readable description of the error
|
限定符和类型 | 方法和说明 |
---|---|
static GifHelper.GifError |
fromCode(int code) |
int |
getErrorCode() |
java.lang.String |
toString() |
static GifHelper.GifError |
valueOf(java.lang.String name)
返回带有指定名称的该类型的枚举常量。
|
static GifHelper.GifError[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final GifHelper.GifError NO_ERROR
public static final GifHelper.GifError OPEN_FAILED
public static final GifHelper.GifError READ_FAILED
public static final GifHelper.GifError NOT_GIF_FILE
public static final GifHelper.GifError NO_SCRN_DSCR
public static final GifHelper.GifError NO_IMAG_DSCR
public static final GifHelper.GifError NO_COLOR_MAP
public static final GifHelper.GifError WRONG_RECORD
public static final GifHelper.GifError DATA_TOO_BIG
public static final GifHelper.GifError NOT_ENOUGH_MEM
public static final GifHelper.GifError CLOSE_FAILED
public static final GifHelper.GifError NOT_READABLE
public static final GifHelper.GifError IMAGE_DEFECT
public static final GifHelper.GifError EOF_TOO_SOON
public static final GifHelper.GifError NO_FRAMES
public static final GifHelper.GifError INVALID_SCR_DIMS
public static final GifHelper.GifError INVALID_IMG_DIMS
public static final GifHelper.GifError IMG_NOT_CONFINED
public static final GifHelper.GifError REWIND_FAILED
public static final GifHelper.GifError INVALID_BYTE_BUFFER
public static final GifHelper.GifError UNKNOWN
public final java.lang.String description
public static GifHelper.GifError[] values()
for (GifHelper.GifError c : GifHelper.GifError.values()) System.out.println(c);
public static GifHelper.GifError valueOf(java.lang.String name)
name
- 要返回的枚举常量的名称。java.lang.IllegalArgumentException
- 如果该枚举类型没有带有指定名称的常量java.lang.NullPointerException
- 如果参数为空值public static GifHelper.GifError fromCode(int code)
public int getErrorCode()
public java.lang.String toString()
toString
在类中 java.lang.Enum<GifHelper.GifError>