public interface FileCriteria
File size criteria can be specified as a number of bytes, or using using "k" for kilobytes, "m" for megabytes, or "g" for gigabytes. For example, "100k".
File modified criteria is specified as the number of seconds since 00:00:00 GMT, January 1, 1970.
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ALL_FILES
Queries all files in the index.
|
static java.lang.String |
FILE_EXTENSION
Queries all files with the given extension, case insensitive.
|
static java.lang.String |
FILE_MODIFIED_AFTER
Queries all files that were modified after the given time.
|
static java.lang.String |
FILE_MODIFIED_AT_OR_AFTER
Queries all files that were modified at or after the given time.
|
static java.lang.String |
FILE_MODIFIED_AT_OR_BEFORE
Queries all files that were modified at or before the given time.
|
static java.lang.String |
FILE_MODIFIED_BEFORE
Queries all files that were modified before the given time.
|
static java.lang.String |
FILE_NAME
Queries files whose name matches the given string, case insensitive.
|
static java.lang.String |
FILE_NAME_CONTAINS
Queries all files whose name contains the given string.
|
static java.lang.String |
FILE_NAME_ENDS_WITH
Queries all files whose name ends with the given string, case insensitive.
|
static java.lang.String |
FILE_NAME_STARTS_WITH
Queries all files whose name starts with the given string, case insensitive.
|
static java.lang.String |
FILE_SIZE_EQUAL_TO
Queries all files whose size is equal to the given size.
|
static java.lang.String |
FILE_SIZE_GREATER_THAN
Queries all files whose size is greater than the given size.
|
static java.lang.String |
FILE_SIZE_GREATER_THAN_OR_EQUAL_TO
Queries all files whose size is greater than or equal to the given size.
|
static java.lang.String |
FILE_SIZE_LESS_THAN
Queries all files whose size is less than the given size.
|
static java.lang.String |
FILE_SIZE_LESS_THAN_OR_EQUAL_TO
Queries all files whose size is less than or equal to the given size.
|
static final java.lang.String ALL_FILES
static final java.lang.String FILE_EXTENSION
static final java.lang.String FILE_NAME
FILE_EXTENSION
.static final java.lang.String FILE_NAME_STARTS_WITH
FILE_EXTENSION
.static final java.lang.String FILE_NAME_ENDS_WITH
FILE_EXTENSION
.static final java.lang.String FILE_NAME_CONTAINS
FILE_EXTENSION
.static final java.lang.String FILE_SIZE_EQUAL_TO
static final java.lang.String FILE_SIZE_LESS_THAN
static final java.lang.String FILE_SIZE_GREATER_THAN
static final java.lang.String FILE_SIZE_LESS_THAN_OR_EQUAL_TO
static final java.lang.String FILE_SIZE_GREATER_THAN_OR_EQUAL_TO
static final java.lang.String FILE_MODIFIED_BEFORE
static final java.lang.String FILE_MODIFIED_AT_OR_BEFORE
static final java.lang.String FILE_MODIFIED_AFTER
static final java.lang.String FILE_MODIFIED_AT_OR_AFTER