MetadataFilters
Leave feedback
On this page
Inheritance: java.lang.Object
public final class MetadataFilters
Represents a list of the most common types of document metadata.
| Constructor | Description |
|---|---|
| MetadataFilters() |
| Field | Description |
|---|---|
| None | Empty filter setting, matches no metadata items. |
| Author | Author of the document. |
| Category | Category of the document. |
| Comments | Comment for the document. |
| Company | Company of the Author. |
| ContentStatus | Content status. |
| CreatedTime | Created time. |
| HyperlinkBase | Hyperlink base. |
| LastPrinted | Last printed date and time. |
| LastSavedBy | Last saved by user. |
| LastSavedTime | Last saved date and time. |
| NameOfApplication | Name of application where the document was created. |
| Manager | Author’s manager name. |
| RevisionNumber | Revision number. |
| Subject | Subject of the document. |
| Template | Document template name. |
| Title | Document title. |
| TotalEditingTime | Total editing time. |
| Version | Document’s version. |
| Description | Document’s description. |
| Keywords | Document’s keywords. |
| ContentType | Content type. |
| All | All types of the metadata items. |
| Method | Description |
|---|---|
| getNames() | Gets a set with all declared filter types. |
| getValueByName(String valueName) | Gets value of MetadataFiler by its name. |
| parse(String values) | Parses a string of comma-delimited MetadataFilers values into an int. |
| toString(int value) | Saves an integer as a string of comma-delimited MetadataFilers values. |
public MetadataFilters()
public static final int None
Empty filter setting, matches no metadata items.
public static final int Author
Author of the document.
public static final int Category
Category of the document.
public static final int Comments
Comment for the document.
public static final int Company
Company of the Author.
public static final int ContentStatus
Content status.
public static final int CreatedTime
Created time.
public static final int HyperlinkBase
Hyperlink base.
public static final int LastPrinted
Last printed date and time.
public static final int LastSavedBy
Last saved by user.
public static final int LastSavedTime
Last saved date and time.
public static final int NameOfApplication
Name of application where the document was created.
public static final int Manager
Author’s manager name.
public static final int RevisionNumber
Revision number.
public static final int Subject
Subject of the document.
public static final int Template
Document template name.
public static final int Title
Document title.
public static final int TotalEditingTime
Total editing time.
public static final int Version
Document’s version.
public static final int Description
Document’s description.
public static final int Keywords
Document’s keywords.
public static final int ContentType
Content type.
public static final int All
All types of the metadata items.
public static Set<String> getNames()
Gets a set with all declared filter types.
Returns: java.util.Set<java.lang.String> - A set with all declared filter types.
public static int getValueByName(String valueName)
Gets value of MetadataFiler by its name.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| valueName | java.lang.String | Name of MetadataFilter. |
Returns: int - Value of MetadataFiler.
public static int parse(String values)
Parses a string of comma-delimited MetadataFilers values into an int.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| values | java.lang.String | A string of comma-delimited MetadataFilers values. |
Returns: int - Value of MetadataFilers.
public static String toString(int value)
Saves an integer as a string of comma-delimited MetadataFilers values.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | int | Value of MetadataFiler. |
Returns: java.lang.String - A string of comma-delimited MetadataFiler values.
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.