MetadataFilters
Inheritance: java.lang.Object
public final class MetadataFilters
Represents a list of the most common types of document metadata.
Constructors
Constructor | Description |
---|---|
MetadataFilters() |
Fields
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. |
Methods
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. |
MetadataFilters()
public MetadataFilters()
None
public static final int None
Empty filter setting, matches no metadata items.
Author
public static final int Author
Author of the document.
Category
public static final int Category
Category of the document.
Comments
public static final int Comments
Comment for the document.
Company
public static final int Company
Company of the Author.
ContentStatus
public static final int ContentStatus
Content status.
CreatedTime
public static final int CreatedTime
Created time.
HyperlinkBase
public static final int HyperlinkBase
Hyperlink base.
LastPrinted
public static final int LastPrinted
Last printed date and time.
LastSavedBy
public static final int LastSavedBy
Last saved by user.
LastSavedTime
public static final int LastSavedTime
Last saved date and time.
NameOfApplication
public static final int NameOfApplication
Name of application where the document was created.
Manager
public static final int Manager
Author’s manager name.
RevisionNumber
public static final int RevisionNumber
Revision number.
Subject
public static final int Subject
Subject of the document.
Template
public static final int Template
Document template name.
Title
public static final int Title
Document title.
TotalEditingTime
public static final int TotalEditingTime
Total editing time.
Version
public static final int Version
Document’s version.
Description
public static final int Description
Document’s description.
Keywords
public static final int Keywords
Document’s keywords.
ContentType
public static final int ContentType
Content type.
All
public static final int All
All types of the metadata items.
getNames()
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.
getValueByName(String valueName)
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.
parse(String values)
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.
toString(int value)
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.