com.github.axet.wget.info
Enum URLInfo.States
java.lang.Object
java.lang.Enum<URLInfo.States>
com.github.axet.wget.info.URLInfo.States
- All Implemented Interfaces:
- Serializable, Comparable<URLInfo.States>
- Enclosing class:
- URLInfo
public static enum URLInfo.States
- extends Enum<URLInfo.States>
Notify States
|
Method Summary |
static URLInfo.States |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static URLInfo.States[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
EXTRACTING
public static final URLInfo.States EXTRACTING
EXTRACTING_DONE
public static final URLInfo.States EXTRACTING_DONE
DOWNLOADING
public static final URLInfo.States DOWNLOADING
RETRYING
public static final URLInfo.States RETRYING
STOP
public static final URLInfo.States STOP
ERROR
public static final URLInfo.States ERROR
DONE
public static final URLInfo.States DONE
values
public static URLInfo.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 (URLInfo.States c : URLInfo.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 URLInfo.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.