stsci.archive
Class HTTPImageArchive

java.lang.Object
  |
  +--stsci.archive.HTTPwraper
        |
        +--stsci.archive.HTTPImageArchive
All Implemented Interfaces:
Archive, ImageArchive, java.rmi.Remote

public class HTTPImageArchive
extends HTTPwraper
implements ImageArchive

The assumtion is that images (probably fits) will be provided via HTTP usually. The job of this class will be to create PlanerImages from them hoipefully usingf the CODEC from ESO.


Fields inherited from class stsci.archive.HTTPwraper
factory, factoryName, local, name, url
 
Constructor Summary
HTTPImageArchive(ArchiveDescriptor d)
          Factories could be used here too like in HTTPArchive but for now we assume they are all the same
 
Method Summary
 ImageProd area(double alpha, double delta, double radius)
          ImageProd is a factory which produces PlanarImages - this returns a reference to the factory rather than the image to allow for easier background loading.
 
Methods inherited from class stsci.archive.HTTPwraper
name
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface stsci.arci.Archive
name
 

Constructor Detail

HTTPImageArchive

public HTTPImageArchive(ArchiveDescriptor d)
                 throws java.rmi.RemoteException
Factories could be used here too like in HTTPArchive but for now we assume they are all the same
Method Detail

area

public ImageProd area(double alpha,
                      double delta,
                      double radius)
               throws ArchiveException,
                      java.rmi.RemoteException
Description copied from interface: ImageArchive
ImageProd is a factory which produces PlanarImages - this returns a reference to the factory rather than the image to allow for easier background loading. Planarimage is defined in JAI (Java Advanced Imaging) it is a fairly high level abstract class and seems like the corect onr eo return from this method. Remote image is also a subclass of this so there is the posibility to do remote stuff also. This of course ties the system definitely to JAI. * @param alpha
Specified by:
area in interface ImageArchive
Following copied from interface: stsci.arci.ImageArchive
Parameters:
delta -  
radius -  
Returns:
ImageProd
Throws:
ArchiveException,RemoteException -