public enum DownloadStatus extends Enum<DownloadStatus>
Enum Constant and Description |
---|
CACHED_FILE_OUTPUT_STREAM_EXCEPTION |
CLIENT_OUTPUT_STREAM_EXCEPTION |
PRODUCT_INPUT_STREAM_EXCEPTION |
RESOURCE_DOWNLOAD_CANCELED |
RESOURCE_DOWNLOAD_COMPLETE |
RESOURCE_DOWNLOAD_INTERRUPTED |
Modifier and Type | Method and Description |
---|---|
static DownloadStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DownloadStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DownloadStatus RESOURCE_DOWNLOAD_COMPLETE
public static final DownloadStatus RESOURCE_DOWNLOAD_INTERRUPTED
public static final DownloadStatus RESOURCE_DOWNLOAD_CANCELED
public static final DownloadStatus CLIENT_OUTPUT_STREAM_EXCEPTION
public static final DownloadStatus CACHED_FILE_OUTPUT_STREAM_EXCEPTION
public static final DownloadStatus PRODUCT_INPUT_STREAM_EXCEPTION
public static DownloadStatus[] values()
for (DownloadStatus c : DownloadStatus.values()) System.out.println(c);
public static DownloadStatus 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 nullThis work is licensed under a Creative Commons Attribution 4.0 International License.