Class ImageDataset

java.lang.Object
ucar.unidata.data.imagery.ImageDataset

public class ImageDataset extends Object
Class to hold information about a list of image datasets
Version:
$Revision: 1.15 $
Author:
IDV development team
  • Constructor Details

    • ImageDataset

      public ImageDataset()
      Empty constructor for XML encoding
    • ImageDataset

      public ImageDataset(String name, List imageDescriptors)
      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

      public String getDatasetName()
      Get the name of this dataset.
      Returns:
      the dataset name
    • setDatasetName

      public void setDatasetName(String name)
      Set the name of this dataset.
      Parameters:
      name - name for this dataset
    • getImageDescriptors

      public List getImageDescriptors()
      Get the descriptors (locations) of the images in this dataset.
      Returns:
      list of image descriptors
    • setImageDescriptors

      public void setImageDescriptors(List d)
      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

      public String toString()
      Return a String representation of this object.
      Overrides:
      toString in class Object
      Returns:
      a String representation of this object
    • equals

      public boolean equals(Object o)
      Check to see if this ImageDataset is equal to the object in question.
      Overrides:
      equals in class Object
      Parameters:
      o - object in question
      Returns:
      true if they are the same or equivalent objects
    • hashCode

      public int hashCode()
      Get the hashcode for this object
      Overrides:
      hashCode in class Object
      Returns:
      the hash code