Main Page | Packages | Class Hierarchy | Class List | Directories | File List | Class Members | Related Pages

JetWebPlotReaderFactory Class Reference

List of all members.

Detailed Description

Author:
tom

Definition at line 30 of file JetWebPlotReaderFactory.java.


Static Public Member Functions

JetWebPlotReader getNewPlotReader (String filename) throws JetWebException

Static Package Attributes

int TYPE_AIDA = 0
int TYPE_PLOTML = 1

Member Function Documentation

JetWebPlotReader getNewPlotReader String  filename  )  throws JetWebException [static]
 

Creates a new instance of JetWebPlotReaderFactory

Definition at line 36 of file JetWebPlotReaderFactory.java.

References JetWebFile.fullPath(), JetWebFile.isAida(), and JetWebFile.Zip().

00037                           {
00038 
00039     InputStream in = null;
00040     JetWebFile f = new JetWebFile(filename);
00041     if(!f.isAida()){
00042         throw new JetWebException
00043         ("JetWebPlotReaderFactory",
00044          "Error - attempted to create JetWebPlotReader from non-aida file.");
00045     }
00046     
00047     System.out.println
00048         ("JetWebPlotReaderFactory: Attempting to use file "+f);
00049 
00050     f = f.Zip();
00051         
00052     return new JetWebAIDAXMLPlotReader(f.fullPath());
00053     }


Member Data Documentation

int TYPE_AIDA = 0 [static, package]
 

Definition at line 32 of file JetWebPlotReaderFactory.java.

int TYPE_PLOTML = 1 [static, package]
 

Definition at line 33 of file JetWebPlotReaderFactory.java.


The documentation for this class was generated from the following file:

Generated Wed Jan 17 09:14:27 GMT 2007