RootMetadataPackage
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.
Methods
Method | Description |
---|---|
getFileType() | Gets the file type metadata package. |
isLicensed() | |
sanitize() | Removes writable metadata properties from the package. |
copyTo(MetadataPackage metadataPackage) |
getFileType()
public final FileTypePackage getFileType()
Gets the file type metadata package.
Returns: FileTypePackage - The file type metadata package.
isLicensed()
public final boolean isLicensed()
Returns: boolean
sanitize()
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
copyTo(MetadataPackage metadataPackage)
public void copyTo(MetadataPackage metadataPackage)
Parameters:
Parameter | Type | Description |
---|---|---|
metadataPackage | MetadataPackage |