Documentation of 'visad.data.MetadataReader' Java class
MetadataReader
visad.data

Interface MetadataReader

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method and Description
      java.util.Hashtable getMetadata(java.lang.String id)
      Obtains a hashtable containing all metadata field/value pairs from the given file.
      java.lang.Object getMetadataValue(java.lang.String id, java.lang.String field)
      Obtains the specified metadata field's value for the given file.
    • Method Detail

      • getMetadataValue

        java.lang.Object getMetadataValue(java.lang.String id,
                                          java.lang.String field)
                                   throws BadFormException,
                                          java.io.IOException,
                                          VisADException
        Obtains the specified metadata field's value for the given file.
        Parameters:
        field - the name associated with the metadata field
        Returns:
        the value, or null should the field not exist
        Throws:
        BadFormException
        java.io.IOException
        VisADException
      • getMetadata

        java.util.Hashtable getMetadata(java.lang.String id)
                                 throws BadFormException,
                                        java.io.IOException,
                                        VisADException
        Obtains a hashtable containing all metadata field/value pairs from the given file.
        Parameters:
        id - the filename
        Returns:
        the hashtable containing all metadata associated with the file
        Throws:
        BadFormException
        java.io.IOException
        VisADException

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.