DocumentPackage
Leave feedback
On this page
Inheritance: java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage
public abstract class DocumentPackage extends CustomPackage
Represents native metadata in an office document.
| Method | Description |
|---|---|
| remove(String propertyName) | Removes a writable metadata property by the specified name. |
| clear() | Removes all writable metadata properties from the package. |
| clearBuiltInProperties() | Removes all built-in metadata properties. |
| clearCustomProperties() | Removes all custom metadata properties. |
public final boolean remove(String propertyName)
Removes a writable metadata property by the specified name.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| propertyName | java.lang.String | A metadata property name. |
Returns: boolean - true if the property is found and deleted; otherwise false .
public final void clear()
Removes all writable metadata properties from the package.
public final void clearBuiltInProperties()
Removes all built-in metadata properties.
public final void clearCustomProperties()
Removes all custom metadata properties.
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.