Package ucar.unidata.data.imagery
Class ImageDataset
java.lang.Object
ucar.unidata.data.imagery.ImageDataset
Class to hold information about a list of image datasets
- Version:
- $Revision: 1.15 $
- Author:
- IDV development team
-
Constructor Summary
ConstructorsConstructorDescriptionEmpty constructor for XML encodingImageDataset
(String name, List imageDescriptors) Construct a new ImageDatset with the specified name and a list of image descriptors. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Check to see if this ImageDataset is equal to the object in question.Get the name of this dataset.Get the descriptors (locations) of the images in this dataset.int
Get the number of images in the dataset.int
hashCode()
Get the hashcode for this objectvoid
setDatasetName
(String name) Set the name of this dataset.void
Set the descriptors (locations) of the images in this dataset.toString()
Return a String representation of this object.
-
Constructor Details
-
ImageDataset
public ImageDataset()Empty constructor for XML encoding -
ImageDataset
Construct a new ImageDatset with the specified name and a list of image descriptors.- Parameters:
name
- what is your name?imageDescriptors
- a List of decriptors to locate the images. These could be filenames, URLS (ADDE or otherwise)
-
-
Method Details
-
getDatasetName
Get the name of this dataset.- Returns:
- the dataset name
-
setDatasetName
Set the name of this dataset.- Parameters:
name
- name for this dataset
-
getImageDescriptors
Get the descriptors (locations) of the images in this dataset.- Returns:
- list of image descriptors
-
setImageDescriptors
Set the descriptors (locations) of the images in this dataset.- Parameters:
d
- the list of descriptors
-
getNumImages
public int getNumImages()Get the number of images in the dataset.- Returns:
- number of descriptors
-
toString
Return a String representation of this object. -
equals
Check to see if this ImageDataset is equal to the object in question. -
hashCode
public int hashCode()Get the hashcode for this object
-