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
 
 
- 
- Enclosing class:
- Checksum
 
 public static class Checksum.FormatElement extends EnumeratedAttribute Helper class for the format attribute.- Since:
- 1.7
 
- 
- 
Field Summary- 
Fields inherited from class org.apache.tools.ant.types.EnumeratedAttributevalue
 
- 
 - 
Constructor SummaryConstructors Constructor Description FormatElement()
 - 
Method SummaryModifier and Type Method Description static Checksum.FormatElementgetDefault()Get the default value - CHECKSUM.java.text.MessageFormatgetFormat()Convert this enumerated type to aMessageFormat.java.lang.String[]getValues()Get the valid values.- 
Methods inherited from class org.apache.tools.ant.types.EnumeratedAttributecontainsValue, getIndex, getInstance, getValue, indexOfValue, setValue, toString
 
- 
 
- 
- 
- 
Method Detail- 
getDefaultpublic static Checksum.FormatElement getDefault() Get the default value - CHECKSUM.- Returns:
- the defaul value.
 
 - 
getFormatpublic java.text.MessageFormat getFormat() Convert this enumerated type to aMessageFormat.- Returns:
- a MessageFormatobject.
 
 - 
getValuespublic java.lang.String[] getValues() Get the valid values.- Specified by:
- getValuesin class- EnumeratedAttribute
- Returns:
- an array of values.
 
 
- 
 
-