stsci.factory
Class GenericFactory
java.lang.Object
|
+--stsci.factory.Factory
|
+--stsci.factory.WebFactory
|
+--stsci.factory.GenericFactory
- public class GenericFactory
- extends WebFactory
read a URL or execute a command next just returns the nextLine
Field Summary |
(package private) java.lang.String |
cmd
|
(package private) java.lang.String |
url
|
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()
just return the next line |
void |
setCmd(java.lang.String cmd)
presume if the command is set this will be a local Job |
void |
setUrl(java.lang.String url)
|
protected void |
skipToData()
no skipping for generic |
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
url
java.lang.String url
cmd
java.lang.String cmd
GenericFactory
public GenericFactory()
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
setUrl
public void setUrl(java.lang.String url)
nextObj
public java.lang.Object nextObj()
throws java.lang.Exception
- just return the next line
- Overrides:
nextObj
in class Factory
skipToData
protected void skipToData()
- no skipping for generic
- 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
setCmd
public void setCmd(java.lang.String cmd)
- presume if the command is set this will be a local Job