Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
org.apache.tools.ant.types.EnumeratedAttribute
org.apache.tools.ant.taskdefs.Checksum.FormatElement
public static class Checksum.FormatElement
extends EnumeratedAttribute
Field Summary |
Fields inherited from class org.apache.tools.ant.types.EnumeratedAttribute | |
value |
Constructor Summary | |
|
Method Summary | |
static Checksum.FormatElement |
|
MessageFormat |
|
String[] |
|
Methods inherited from class org.apache.tools.ant.types.EnumeratedAttribute | |
containsValue , getIndex , getInstance , getValue , getValues , indexOfValue , setValue , toString |
public static Checksum.FormatElement getDefault()
Get the default value - CHECKSUM.
- Returns:
- the defaul value.
public MessageFormat getFormat()
Convert this enumerated type to aMessageFormat
.
- Returns:
- a
MessageFormat
object.
public String[] getValues()
Get the valid values.
- Overrides:
- getValues in interface EnumeratedAttribute
- Returns:
- an array of values.