Interface IImageFileDataSource

  • All Known Implementing Classes:
    HelioviewerImageFileDatasource

    public interface IImageFileDataSource
    This is the public interface for classes used to retrieve images coming from the source location that are intended to be inserted into our database.
    Author:
    Dustin Kempton, Data Mining Lab, Georgia State University
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      org.apache.commons.math3.util.Pair<byte[],​String> getImageAtTime​(org.joda.time.DateTime timeStamp, Waveband wavelength)
      Method that gets an image as a byte array that corresponds to the input time and wavelength from the datasource.
    • Method Detail

      • getImageAtTime

        org.apache.commons.math3.util.Pair<byte[],​String> getImageAtTime​(org.joda.time.DateTime timeStamp,
                                                                               Waveband wavelength)
        Method that gets an image as a byte array that corresponds to the input time and wavelength from the datasource. It returns a pair of byte array and string, where the byte array is the byte representation of the image in whatever format it is stored in its respective source and the string is the name of the image from the datasourc. The byte array is intended to be the raw file representation of the image and can be saved as a file or read into whatever decoding method is necessary to get the desired representation.
        Parameters:
        timeStamp - The time that the image was recorded.
        wavelength - The wavelength the image was recorded in.
        Returns:
        The pair of byte array and string that represents the results, or null if no image was found fitting the constraints desired.