org.apache.tools.ant.taskdefs

Class Checksum.FormatElement

  • Enclosing class:
    Checksum


    public static class Checksum.FormatElement
    extends EnumeratedAttribute
    Helper class for the format attribute.
    Since:
    1.7
    • 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 java.text.MessageFormat getFormat()
        Convert this enumerated type to a MessageFormat.
        Returns:
        a MessageFormat object.
      • getValues

        public java.lang.String[] getValues()
        Get the valid values.
        Specified by:
        getValues in class EnumeratedAttribute
        Returns:
        an array of values.