com.github.axet.wget.info
Enum DownloadInfo.Part.States
java.lang.Object
java.lang.Enum<DownloadInfo.Part.States>
com.github.axet.wget.info.DownloadInfo.Part.States
- All Implemented Interfaces:
- Serializable, Comparable<DownloadInfo.Part.States>
- Enclosing class:
- DownloadInfo.Part
public static enum DownloadInfo.Part.States
- extends Enum<DownloadInfo.Part.States>
Notify States
QUEUED
public static final DownloadInfo.Part.States QUEUED
DOWNLOADING
public static final DownloadInfo.Part.States DOWNLOADING
RETRYING
public static final DownloadInfo.Part.States RETRYING
ERROR
public static final DownloadInfo.Part.States ERROR
STOP
public static final DownloadInfo.Part.States STOP
DONE
public static final DownloadInfo.Part.States DONE
values
public static DownloadInfo.Part.States[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (DownloadInfo.Part.States c : DownloadInfo.Part.States.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static DownloadInfo.Part.States valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name - the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
Copyright © 2012. All Rights Reserved.