saker.build Documentation TaskDoc JavaDoc Packages
public enum CommonContentDescriptorSupplier implements ContentDescriptorSupplier
Enumeration of common content descriptor supplier implementations.
Enumeration constants
Creates content descriptors based on the attributes of the subject file.
Creates content descriptors based on the contents of the subject file by hashing them using MD5 algorithm.
Methods
public static CommonContentDescriptorSupplier
Returns the enum constant of this type with the specified name.
public static CommonContentDescriptorSupplier[]
Returns an array containing the constants of this enum type, in the order they are declared.
Creates content descriptors based on the attributes of the subject file.
Creates content descriptors based on the contents of the subject file by hashing them using MD5 algorithm.
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
IllegalArgumentExceptionIf this enum type has no constant with the specified name.
NullPointerExceptionIf the argument is null.
The enum constant with the specified name.
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (CommonContentDescriptorSupplier c : CommonContentDescriptorSupplier.values())
    System.out.println(c);
An array containing the constants of this enum type, in the order they are declared.