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.
sanitize() Removes writable metadata properties from the package.

getFileType()

public final FileTypePackage getFileType()

Gets the file type metadata package.

Returns: FileTypePackage - The file type metadata package.

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