protected static enum DownloadManagerBaseTest.DownloadFileType extends Enum<DownloadManagerBaseTest.DownloadFileType>
Enum Constant and Description |
---|
APK |
GARBAGE |
GIF |
PLAINTEXT |
UNRECOGNIZED |
ZIP |
Modifier and Type | Method and Description |
---|---|
static DownloadManagerBaseTest.DownloadFileType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DownloadManagerBaseTest.DownloadFileType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DownloadManagerBaseTest.DownloadFileType PLAINTEXT
public static final DownloadManagerBaseTest.DownloadFileType APK
public static final DownloadManagerBaseTest.DownloadFileType GIF
public static final DownloadManagerBaseTest.DownloadFileType GARBAGE
public static final DownloadManagerBaseTest.DownloadFileType UNRECOGNIZED
public static final DownloadManagerBaseTest.DownloadFileType ZIP
public static DownloadManagerBaseTest.DownloadFileType[] values()
for (DownloadManagerBaseTest.DownloadFileType c : DownloadManagerBaseTest.DownloadFileType.values()) System.out.println(c);
public static DownloadManagerBaseTest.DownloadFileType 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 null