org.apache.tools.ant.taskdefs

Class Zip.UnicodeExtraField

  • Enclosing class:
    Zip


    public static final class Zip.UnicodeExtraField
    extends EnumeratedAttribute
    Policy for creation of Unicode extra fields: never, always or not-encodeable.
    Since:
    Ant 1.8.0
    • Constructor Detail

      • UnicodeExtraField

        public UnicodeExtraField()
    • Method Detail

      • getValues

        public java.lang.String[] getValues()
        Description copied from class: EnumeratedAttribute
        This is the only method a subclass needs to implement.
        Specified by:
        getValues in class EnumeratedAttribute
        Returns:
        an array holding all possible values of the enumeration. The order of elements must be fixed so that indexOfValue(String) always return the same index for the same value.