Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1)

E13403-04

oracle.ide.index.file
Interface FileCriteria


public interface FileCriteria

Defines file table queries. File table queries can typically be performed very quickly, as they only require the file table to be built, not the entire index.

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.


Field Summary
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.
 

Field Detail

ALL_FILES

static final java.lang.String ALL_FILES
Queries all files in the index.

See Also:
Constant Field Values

FILE_EXTENSION

static final java.lang.String FILE_EXTENSION
Queries all files with the given extension, case insensitive. The extension should include the ".", for example, ".java". Multiple extensions can be separated with "|". In that case, the query will return files matching any of the extensions.

See Also:
Constant Field Values

FILE_NAME

static final java.lang.String FILE_NAME
Queries files whose name matches the given string, case insensitive. Note that this does not include the extension. To search for files with a given extension, use FILE_EXTENSION.

See Also:
Constant Field Values

FILE_NAME_STARTS_WITH

static final java.lang.String FILE_NAME_STARTS_WITH
Queries all files whose name starts with the given string, case insensitive. Note that this does not include the extension. To search for files with a given extension, use FILE_EXTENSION.

See Also:
Constant Field Values

FILE_NAME_ENDS_WITH

static final java.lang.String FILE_NAME_ENDS_WITH
Queries all files whose name ends with the given string, case insensitive. Note that this does not include the extension. To search for files with a given extension, use FILE_EXTENSION.

See Also:
Constant Field Values

FILE_NAME_CONTAINS

static final java.lang.String FILE_NAME_CONTAINS
Queries all files whose name contains the given string. Note that this does not include the extension. To search for files with a given extension, use FILE_EXTENSION.

See Also:
Constant Field Values

FILE_SIZE_EQUAL_TO

static final java.lang.String FILE_SIZE_EQUAL_TO
Queries all files whose size is equal to the given size.

See Also:
Constant Field Values

FILE_SIZE_LESS_THAN

static final java.lang.String FILE_SIZE_LESS_THAN
Queries all files whose size is less than the given size.

See Also:
Constant Field Values

FILE_SIZE_GREATER_THAN

static final java.lang.String FILE_SIZE_GREATER_THAN
Queries all files whose size is greater than the given size.

See Also:
Constant Field Values

FILE_SIZE_LESS_THAN_OR_EQUAL_TO

static final java.lang.String FILE_SIZE_LESS_THAN_OR_EQUAL_TO
Queries all files whose size is less than or equal to the given size.

See Also:
Constant Field Values

FILE_SIZE_GREATER_THAN_OR_EQUAL_TO

static final java.lang.String FILE_SIZE_GREATER_THAN_OR_EQUAL_TO
Queries all files whose size is greater than or equal to the given size.

See Also:
Constant Field Values

FILE_MODIFIED_BEFORE

static final java.lang.String FILE_MODIFIED_BEFORE
Queries all files that were modified before the given time.

See Also:
Constant Field Values

FILE_MODIFIED_AT_OR_BEFORE

static final java.lang.String FILE_MODIFIED_AT_OR_BEFORE
Queries all files that were modified at or before the given time.

See Also:
Constant Field Values

FILE_MODIFIED_AFTER

static final java.lang.String FILE_MODIFIED_AFTER
Queries all files that were modified after the given time.

See Also:
Constant Field Values

FILE_MODIFIED_AT_OR_AFTER

static final java.lang.String FILE_MODIFIED_AT_OR_AFTER
Queries all files that were modified at or after the given time.

See Also:
Constant Field Values

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1)

E13403-04

Copyright © 1997, 2010, Oracle. All rights reserved.