Module io.annot8.components.files
Enum SimpleFileSystemSource.FileOrder
- java.lang.Object
-
- java.lang.Enum<SimpleFileSystemSource.FileOrder>
-
- io.annot8.components.files.sources.SimpleFileSystemSource.FileOrder
-
- All Implemented Interfaces:
Serializable,Comparable<SimpleFileSystemSource.FileOrder>
- Enclosing class:
- SimpleFileSystemSource
public static enum SimpleFileSystemSource.FileOrder extends Enum<SimpleFileSystemSource.FileOrder>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CREATED_DATE_EARLIEST_TO_LATESTCREATED_DATE_LATEST_TO_EARLIESTMODIFIED_DATE_EARLIEST_TO_LATESTMODIFIED_DATE_LATEST_TO_EARLIESTNAME_A_TO_ZNAME_Z_TO_ASIZE_LARGE_TO_SMALLSIZE_SMALL_TO_LARGE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SimpleFileSystemSource.FileOrdervalueOf(String name)Returns the enum constant of this type with the specified name.static SimpleFileSystemSource.FileOrder[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CREATED_DATE_EARLIEST_TO_LATEST
public static final SimpleFileSystemSource.FileOrder CREATED_DATE_EARLIEST_TO_LATEST
-
CREATED_DATE_LATEST_TO_EARLIEST
public static final SimpleFileSystemSource.FileOrder CREATED_DATE_LATEST_TO_EARLIEST
-
MODIFIED_DATE_EARLIEST_TO_LATEST
public static final SimpleFileSystemSource.FileOrder MODIFIED_DATE_EARLIEST_TO_LATEST
-
MODIFIED_DATE_LATEST_TO_EARLIEST
public static final SimpleFileSystemSource.FileOrder MODIFIED_DATE_LATEST_TO_EARLIEST
-
NAME_A_TO_Z
public static final SimpleFileSystemSource.FileOrder NAME_A_TO_Z
-
NAME_Z_TO_A
public static final SimpleFileSystemSource.FileOrder NAME_Z_TO_A
-
SIZE_LARGE_TO_SMALL
public static final SimpleFileSystemSource.FileOrder SIZE_LARGE_TO_SMALL
-
SIZE_SMALL_TO_LARGE
public static final SimpleFileSystemSource.FileOrder SIZE_SMALL_TO_LARGE
-
-
Method Detail
-
values
public static SimpleFileSystemSource.FileOrder[] values()
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 (SimpleFileSystemSource.FileOrder c : SimpleFileSystemSource.FileOrder.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SimpleFileSystemSource.FileOrder valueOf(String name)
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.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-