stsci.factory
Class GSC2factory

java.lang.Object
  |
  +--stsci.factory.Factory
        |
        +--stsci.factory.WebFactory
              |
              +--stsci.factory.ArcObjFactory
                    |
                    +--stsci.factory.GSC2factory
Direct Known Subclasses:
COMPASSfactory, GSC22factory

public class GSC2factory
extends ArcObjFactory


Fields inherited from class stsci.factory.ArcObjFactory
alpha, delta, r, vlim
 
Fields inherited from class stsci.factory.WebFactory
local
 
Fields inherited from class stsci.factory.Factory
dstream, finished, name, opened
 
Constructor Summary
GSC2factory()
           
 
Method Summary
 java.lang.String getCmd()
          The id and different parameters to the command will be differnt for each system.
 java.lang.String getURL()
          The id and different parameters to the web page will be differnt for each system.
 java.lang.Object nextObj()
          The abstract method to consume input from dstream and create the next object.
protected  void skipToData()
          Skip down the data stream to where the data is no pre tag in GSC2 in fact we just need to skip two lines the header and ----- lines..
 
Methods inherited from class stsci.factory.ArcObjFactory
getNext, init
 
Methods inherited from class stsci.factory.WebFactory
finished, open, openCmd, openURL, setLocal
 
Methods inherited from class stsci.factory.Factory
openDisk, setFinished
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GSC2factory

public GSC2factory()
Method Detail

getURL

public java.lang.String getURL()
Description copied from class: WebFactory
The id and different parameters to the web page will be differnt for each system. This abstarct method will be called to get the URL which should be opened.
Overrides:
getURL in class WebFactory

nextObj

public java.lang.Object nextObj()
                         throws java.lang.Exception
Description copied from class: Factory
The abstract method to consume input from dstream and create the next object. This is specific to the particular type of input and must be implemented by the subclass.
Overrides:
nextObj in class Factory

skipToData

protected void skipToData()
Skip down the data stream to where the data is no pre tag in GSC2 in fact we just need to skip two lines the header and ----- lines..
Overrides:
skipToData in class WebFactory

getCmd

public java.lang.String getCmd()
Description copied from class: WebFactory
The id and different parameters to the command will be differnt for each system. This abstarct method will be called to get the Command which should be executed.
Overrides:
getCmd in class WebFactory