org.apache.tools.ant.taskdefs

Class Checksum.FormatElement

public static class Checksum.FormatElement extends EnumeratedAttribute

Helper class for the format attribute.

Since: 1.7

Constructor Summary
FormatElement()
Constructor for FormatElement
Method Summary
static Checksum.FormatElementgetDefault()
Get the default value - CHECKSUM.
MessageFormatgetFormat()
Convert this enumerated type to a MessageFormat.
String[]getValues()
Get the valid values.

Constructor Detail

FormatElement

public FormatElement()
Constructor for FormatElement

Method Detail

getDefault

public static Checksum.FormatElement getDefault()
Get the default value - CHECKSUM.

Returns: the defaul value.

getFormat

public MessageFormat getFormat()
Convert this enumerated type to a MessageFormat.

Returns: a MessageFormat object.

getValues

public String[] getValues()
Get the valid values.

Returns: an array of values.