com.groupdocs.metadata

Interfaces

Classes

Exceptions

com.groupdocs.metadata

Class Metadata

    • Constructor Detail

      • Metadata

        protected Metadata(int metadataType)

        Initializes a new instance of the Metadata class.

        Parameters:
        metadataType - Metadata type.
    • Method Detail

      • getMetadataType

        public final int getMetadataType()

        Gets metadata type.

        Returns:
        The type of the metadata.
      • getKeys

        public abstract String[] getKeys()

        Gets array of available metadata keys. Keys related to null values are skipped.

        Returns:
        The array of keys.
      • getByType

        public static Metadata getByType(Metadata[] array,
                         int type)

        Gets metadata by type from array.

        Parameters:
        array - Array of Metadata.
        type - MetadataType.
        Returns:
        Metadata if entity is presented in array; otherwise null.
        Throws:
        ArgumentNullException - Metadata array could not be null.