|
NetCharts Server | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--chartworks.es.plugin.NDSPlugIn
This class is the super-class of all PlugIn classes. It provides a common interface to the PlugIn subclasses and it maintains the registry of all existing PlugIn classes.
NDSPlugInObserver| Constructor Summary | |
NDSPlugIn(java.lang.String name)
Standard constructor for a NDSPlugIn. |
|
| Method Summary | |
void |
addListingEntry(java.net.URL fileBase,
java.util.Hashtable serverParams,
java.io.PrintStream ps,
java.lang.String url)
Add additional information to the listing for this file as seen when a GET on a directory is performed. |
void |
addObserver(NDSPlugInObserver observer)
Add an NDSPlugInObserver. |
static NDSPlugIn |
createPlugIn(java.lang.String className,
java.lang.String name)
Create an instance of the specified PlugIn. |
abstract java.lang.String |
getContentType(java.net.URL fileBase,
java.util.Hashtable serverParams,
java.util.Hashtable clientParams)
Return the Content-Type of this NDSPlugIn. |
abstract byte[] |
getData(java.net.URL fileBase,
java.util.Hashtable serverParams,
java.util.Hashtable clientParams)
Return the NDSPlugIn data given the specified parameters. |
static NDSPlugIn |
getPlugIn(java.lang.String className,
java.lang.String name)
Get the PlugIn object with the specified class and name |
boolean |
hasNewData(netcharts.util.NFDate since)
Return whether the PlugIn has new data since the given date. |
void |
removeObserver(NDSPlugInObserver observer)
Remove an NDSPlugInObserver. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public NDSPlugIn(java.lang.String name)
name - The name of the NDSPlugIn specified in the .nds file.| Method Detail |
public static NDSPlugIn getPlugIn(java.lang.String className,
java.lang.String name)
className - The name of the Java class that represents the PlugIn.name - The name of the PlugIn as found in the .nds file.
public static NDSPlugIn createPlugIn(java.lang.String className,
java.lang.String name)
className - The name of the Java class that represents the PlugIn.name - The name of the PlugIn as found in the .nds file.public boolean hasNewData(netcharts.util.NFDate since)
since - Specifies the time to use as the start date.
public abstract byte[] getData(java.net.URL fileBase,
java.util.Hashtable serverParams,
java.util.Hashtable clientParams)
fileBase - The directory from which the .nds file was loaded.serverParams - Hashtable of name/value pairs.clientParams - Hashtable of name/value pairs.
public abstract java.lang.String getContentType(java.net.URL fileBase,
java.util.Hashtable serverParams,
java.util.Hashtable clientParams)
fileBase - The directory from which the .nds file was loaded.serverParams - Hashtable of name/value pairs.clientParams - Hashtable of name/value pairs.
public void addListingEntry(java.net.URL fileBase,
java.util.Hashtable serverParams,
java.io.PrintStream ps,
java.lang.String url)
fileBase - The directory from which the .nds file was loaded.serverParams - Hashtable of name/value pairs.ps - The PrintStream to write the listing on.url - The server location of the .nds file on which this
listing is to be based.public void addObserver(NDSPlugInObserver observer)
observer - The NDSPlugInObserver to add.public void removeObserver(NDSPlugInObserver observer)
observer - The NDSPlugInObserver to remove.
|
NetCharts Server | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
| Visual Mining, Inc. | Copyright © Visual Mining, Inc. 1996 - 2006 |
Last Modified: Nov 26, 2006 |