visad.data
Interface MetadataReader
-
- All Known Implementing Classes:
- AVIForm, BioRadForm, BioRadForm, DeltavisionForm, FluoviewTiffForm, GatanForm, ICSForm, ImageProSeqForm, IPLabForm, IPWForm, LegacyZVIForm, LeicaForm, LociForm, MetamorphForm, OpenlabForm, PerkinElmerForm, PictForm, QTForm, TiffForm, ZeissForm, ZVIForm
public interface MetadataReaderMetadataReader is the VisAD interface for reading in a file's associated metadata (other than pixel data).
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description java.util.HashtablegetMetadata(java.lang.String id)Obtains a hashtable containing all metadata field/value pairs from the given file.java.lang.ObjectgetMetadataValue(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, VisADExceptionObtains 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:
BadFormExceptionjava.io.IOExceptionVisADException
-
getMetadata
java.util.Hashtable getMetadata(java.lang.String id) throws BadFormException, java.io.IOException, VisADExceptionObtains 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:
BadFormExceptionjava.io.IOExceptionVisADException
-
-
DMelt 3.0 © DataMelt by jWork.ORG