RootMetadataPackage
Leave feedback
On this page
Inheritance: java.lang.Object, com.groupdocs.metadata.core.MetadataPackage
public abstract class RootMetadataPackage extends MetadataPackage
Represents an entry point to all metadata packages presented in a particular file.
| Method | Description |
|---|---|
| getFileType() | Gets the file type metadata package. |
| isLicensed() | |
| sanitize() | Removes writable metadata properties from the package. |
| copyTo(MetadataPackage metadataPackage) |
public final FileTypePackage getFileType()
Gets the file type metadata package.
Returns: FileTypePackage - The file type metadata package.
public final boolean isLicensed()
Returns: boolean
public int sanitize()
Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well.
Returns: int - The number of affected properties.
Learn more
- More examples demonstrating usages of this method: Clean metadata
public void copyTo(MetadataPackage metadataPackage)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| metadataPackage | MetadataPackage |
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.