jas2.jds.module
Class BasicServer
- java.lang.Object
-
- jas2.jds.module.BasicServer
-
- All Implemented Interfaces:
- AbstractDIM, DIM2, java.io.FilenameFilter
- Direct Known Subclasses:
- FlatFileServer
public abstract class BasicServer extends java.lang.Object implements java.io.FilenameFilter, DIM2
-
-
Constructor Summary
Constructors Constructor and Description BasicServer(java.lang.String[] args, java.lang.String title, java.lang.String fileExtension)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description booleanaccept(java.io.File dir, java.lang.String name)TreeItem[]getDataSets(TreeItem base)Returns an array of TreeItem's which represent the level of heirarchy below the specified base.hepjas.analysis.EventSourceopenDataSet(java.lang.String fileName)Return an EventSource as specified by the paramaterdataSource.hepjas.analysis.EventSourceopenDataSet(TreeItem base)java.lang.StringtoString()
-
-
-
Constructor Detail
-
BasicServer
public BasicServer(java.lang.String[] args, java.lang.String title, java.lang.String fileExtension)
-
-
Method Detail
-
accept
public boolean accept(java.io.File dir, java.lang.String name)- Specified by:
acceptin interfacejava.io.FilenameFilter
-
getDataSets
public TreeItem[] getDataSets(TreeItem base)
Description copied from interface:DIM2Returns an array of TreeItem's which represent the level of heirarchy below the specified base.- Specified by:
getDataSetsin interfaceDIM2
-
openDataSet
public hepjas.analysis.EventSource openDataSet(TreeItem base) throws ModuleException
- Specified by:
openDataSetin interfaceDIM2- Throws:
ModuleException
-
openDataSet
public hepjas.analysis.EventSource openDataSet(java.lang.String fileName) throws ModuleExceptionDescription copied from interface:AbstractDIMReturn an EventSource as specified by the paramaterdataSource. That parameter is specific to the data format, but may be a file name, an SQL command, etc.- Specified by:
openDataSetin interfaceAbstractDIM- Throws:
ModuleException
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-
DataMelt 3.0 © DataMelt by jWork.ORG