jas.jds.module
Class BasicServer
java.lang.Object
|
+--jas.jds.module.BasicServer
- All Implemented Interfaces:
- AbstractDIM, DIM2, java.io.FilenameFilter
- public abstract class BasicServer
- extends java.lang.Object
- implements java.io.FilenameFilter, DIM2
Constructor Summary |
BasicServer(java.lang.String[] args,
java.lang.String title,
java.lang.String fileExtension)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
BasicServer
public BasicServer(java.lang.String[] args,
java.lang.String title,
java.lang.String fileExtension)
accept
public boolean accept(java.io.File dir,
java.lang.String name)
- Specified by:
accept
in interface java.io.FilenameFilter
getDataSets
public TreeItem[] getDataSets(TreeItem base)
- Description copied from interface:
DIM2
- Returns an array of TreeItem's which represent the level of heirarchy
below the specified base.
- Specified by:
getDataSets
in interface DIM2
openDataSet
public EventSource openDataSet(TreeItem base)
throws ModuleException
- Specified by:
openDataSet
in interface DIM2
openDataSet
public EventSource openDataSet(java.lang.String fileName)
throws ModuleException
- Description copied from interface:
AbstractDIM
- Return an EventSource as specified by the paramater
dataSource
. That parameter is specific
to the data format, but may be a file name, an SQL
command, etc.
- Specified by:
openDataSet
in interface AbstractDIM
createEventSource
protected abstract EventSource createEventSource(java.lang.String fullName)
throws ModuleException
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object