Package org.apache.tools.ant.taskdefs
Class Checksum.FormatElement
java.lang.Object
org.apache.tools.ant.types.EnumeratedAttribute
org.apache.tools.ant.taskdefs.Checksum.FormatElement
-
Field Summary
Fields inherited from class org.apache.tools.ant.types.EnumeratedAttribute
value
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Checksum.FormatElement
Get the default value - CHECKSUM.Convert this enumerated type to aMessageFormat
.String[]
Get the valid values.Methods inherited from class org.apache.tools.ant.types.EnumeratedAttribute
containsValue, getIndex, getInstance, getValue, indexOfValue, setValue, toString
-
Constructor Details
-
FormatElement
public FormatElement()
-
-
Method Details
-
getDefault
Get the default value - CHECKSUM.- Returns:
- the defaul value.
-
getFormat
Convert this enumerated type to aMessageFormat
.- Returns:
- a
MessageFormat
object.
-
getValues
Get the valid values.- Specified by:
getValues
in classEnumeratedAttribute
- Returns:
- an array of values.
-