DocumentPackage
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.
Methods
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. |
remove(String propertyName)
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 .
clear()
public final void clear()
Removes all writable metadata properties from the package.
clearBuiltInProperties()
public final void clearBuiltInProperties()
Removes all built-in metadata properties.
clearCustomProperties()
public final void clearCustomProperties()
Removes all custom metadata properties.