public abstract class DocumentFilter extends Object
DocumentFilter class is designed for creating documents filters.
Constructor and Description |
---|
DocumentFilter() |
Modifier and Type | Method and Description |
---|---|
static DocumentFilter |
createConjunction(DocumentFilter... filters)
Create logical conjunction (logical and) of specified filters.
|
static DocumentFilter |
createCreationTimeLowerBound(com.aspose.ms.System.DateTime lowerBound)
Create filter for skipping documents with creation date earlier than specified.
|
static DocumentFilter |
createCreationTimeRange(com.aspose.ms.System.DateTime lowerBound,
com.aspose.ms.System.DateTime upperBound)
Create filter for skipping documents with creation date in specified range.
|
static DocumentFilter |
createCreationTimeUpperBound(com.aspose.ms.System.DateTime upperBound)
Create filter for skipping documents with creation date later than specified.
|
static DocumentFilter |
createDisjunction(DocumentFilter... filters)
Create logical disjunction (logical or) of specified filters.
|
static DocumentFilter |
createFileExtension(String... extensions)
Create filter for skipping documents with specified extensions.
|
static DocumentFilter |
createFileLengthLowerBound(long lowerBound)
Create filter for skipping documents with length less than specified.
|
static DocumentFilter |
createFileLengthRange(long lowerBound,
long upperBound)
Create filter for skipping documents in specified length range.
|
static DocumentFilter |
createFileLengthUpperBound(long upperBound)
Create filter for skipping documents with length more than specified.
|
static DocumentFilter |
createFileNameRegularExpression(String pattern)
Create filter for skipping documents using regular expression.
|
static DocumentFilter |
createFileNameRegularExpression(String pattern,
int options)
Create filter for skipping documents using regular expression.
|
static DocumentFilter |
createInverted(DocumentFilter innerFilter)
Invert document filter.
|
static DocumentFilter |
createModificationTimeLowerBound(com.aspose.ms.System.DateTime lowerBound)
Create filter for skipping documents with modification date earlier than specified.
|
static DocumentFilter |
createModificationTimeRange(com.aspose.ms.System.DateTime lowerBound,
com.aspose.ms.System.DateTime upperBound)
Create filter for skipping documents with modification date in specified range.
|
static DocumentFilter |
createModificationTimeUpperBound(com.aspose.ms.System.DateTime upperBound)
Create filter for skipping documents with modification date later than specified.
|
abstract String |
toString()
Returns string representation of document filter.
|
public abstract String toString()
Returns string representation of document filter.
public static DocumentFilter createCreationTimeLowerBound(com.aspose.ms.System.DateTime lowerBound)
Create filter for skipping documents with creation date earlier than specified.
lowerBound
- Lower bound of document creation time.public static DocumentFilter createCreationTimeUpperBound(com.aspose.ms.System.DateTime upperBound)
Create filter for skipping documents with creation date later than specified.
upperBound
- Upper bound of document creation time.public static DocumentFilter createCreationTimeRange(com.aspose.ms.System.DateTime lowerBound, com.aspose.ms.System.DateTime upperBound)
Create filter for skipping documents with creation date in specified range.
lowerBound
- Lower bound of document creation time.upperBound
- Upper bound of document creation time.public static DocumentFilter createModificationTimeLowerBound(com.aspose.ms.System.DateTime lowerBound)
Create filter for skipping documents with modification date earlier than specified.
lowerBound
- Lower bound of document modification time.public static DocumentFilter createModificationTimeUpperBound(com.aspose.ms.System.DateTime upperBound)
Create filter for skipping documents with modification date later than specified.
upperBound
- Upper bound of document modification time.public static DocumentFilter createModificationTimeRange(com.aspose.ms.System.DateTime lowerBound, com.aspose.ms.System.DateTime upperBound)
Create filter for skipping documents with modification date in specified range.
lowerBound
- Lower bound of document modification time.upperBound
- Upper bound of document modification time.public static DocumentFilter createFileNameRegularExpression(String pattern)
Create filter for skipping documents using regular expression.
pattern
- Regex pattern.public static DocumentFilter createFileNameRegularExpression(String pattern, int options)
Create filter for skipping documents using regular expression.
pattern
- Regex pattern.options
- Regex options.public static DocumentFilter createFileLengthLowerBound(long lowerBound)
Create filter for skipping documents with length less than specified.
lowerBound
- Lower bound of document length.public static DocumentFilter createFileLengthUpperBound(long upperBound)
Create filter for skipping documents with length more than specified.
upperBound
- Upper bound of document length.public static DocumentFilter createFileLengthRange(long lowerBound, long upperBound)
Create filter for skipping documents in specified length range.
lowerBound
- Lower bound of document length.upperBound
- Upper bound of document length.public static DocumentFilter createFileExtension(String... extensions)
Create filter for skipping documents with specified extensions.
extensions
- Extensions for filtering documents.public static DocumentFilter createInverted(DocumentFilter innerFilter)
Invert document filter.
innerFilter
- Document filter.public static DocumentFilter createConjunction(DocumentFilter... filters)
Create logical conjunction (logical and) of specified filters.
filters
- Document filters.public static DocumentFilter createDisjunction(DocumentFilter... filters)
Create logical disjunction (logical or) of specified filters.
filters
- Document filters.Copyright © 2018. All rights reserved.