stsci.factory
Class ADfactory

java.lang.Object
  |
  +--stsci.factory.Factory
        |
        +--stsci.factory.ADfactory

public class ADfactory
extends Factory

Get archiveDescriptors from the file. The property SERVER_FILE is used tro specify the location of the file (full path including file name). By default it expects a file called servers.lst in the directory where the application started.


Fields inherited from class stsci.factory.Factory
dstream, finished, name, opened
 
Constructor Summary
ADfactory()
           
 
Method Summary
 java.lang.Object nextObj()
          The file is ,(comma) seperated one object per line.
 
Methods inherited from class stsci.factory.Factory
finished, open, openDisk, setFinished
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ADfactory

public ADfactory()
Method Detail

nextObj

public java.lang.Object nextObj()
                         throws java.lang.Exception
The file is ,(comma) seperated one object per line. This splits the line up and puts the values in the approapriate attributes of an ArchiveDescriptor which is returned.
Overrides:
nextObj in class Factory