Documentation of 'jas2.jds.module.BasicServer' Java class
BasicServer
jas2.jds.module

Class 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
      boolean accept(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.EventSource openDataSet(java.lang.String fileName)
      Return an EventSource as specified by the paramater dataSource.
      hepjas.analysis.EventSource openDataSet(TreeItem base) 
      java.lang.String toString() 
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • 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:
        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 hepjas.analysis.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
        Throws:
        ModuleException
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.