All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class sep.io.RegularDataJ

java.lang.Object
   |
   +----sep.io.RegularDataJ

public class RegularDataJ
extends Object
THIS HAS TO GO: NICE IDEA TO HAVE A JAG INDEPENDENT OBJECT THAT IMPLEMENTS JUST THE SEPCUBE. BUT IT IS TOO MUCH TO MAINTAIN AT THIS POINT. WE CAN CHANGE RSFTO SUCH A THING SHOULD JAG FAIL.

I wish I had a well defined Java inspired Header parameter set. A data set should precisely know what it is (space description) and where it came from (url). I believe the Header should contain:
 String url                         (origin)
 String mimeType
 String title                       (title)
 String label                       (label of data values)
 String unit                        (unit  of data values)
 int    dim                         (space dimension)
 int    n1     [n2,n3,..]           (number of samples)
 float  d1     [d2,d3,..]           (increment)
 float  o1     [d2,d3,..]           (offset)
 String label1 [label2,label3, ...] (dimension name)
 String unit1  [unit1,unit2, ...]   (unit)
 


Constructor Index

 o RegularDataJ()
 o RegularDataJ(float[])
Maybe this should overload the read() method
 o RegularDataJ(float[], ParaKeeper)
 o RegularDataJ(float[][])
 o RegularDataJ(float[][], ParaKeeper)
 o RegularDataJ(float[][][])
 o RegularDataJ(float[][][], ParaKeeper)
 o RegularDataJ(float[][][][])
 o RegularDataJ(float[][][][], ParaKeeper)
 o RegularDataJ(float[][][][][])
 o RegularDataJ(float[][][][][], ParaKeeper)
 o RegularDataJ(float[][][][][][])
 o RegularDataJ(float[][][][][][], ParaKeeper)
 o RegularDataJ(InputStream)
 o RegularDataJ(String)

Method Index

 o containsKey(String)
 o getBoolean(String)
 o getBoolean(String, String)
 o getData()
 o getDim()
 o getDouble(String)
 o getDouble(String, String)
 o getFloat(String)
 o getFloat(String, String)
 o getInt(String)
 o getInt(String, String)
 o getString(String)
 o getString(String, String)
 o read(InputStream)
 o read(String)
 o set(String, String)
This should probably return the value Hashtable's put() returns
 o setData(float[])
 o write(OutputStream)

Constructors

 o RegularDataJ
 public RegularDataJ()
 o RegularDataJ
 public RegularDataJ(float data[])
Maybe this should overload the read() method

 o RegularDataJ
 public RegularDataJ(float data[][])
 o RegularDataJ
 public RegularDataJ(float data[][][])
 o RegularDataJ
 public RegularDataJ(float data[][][][])
 o RegularDataJ
 public RegularDataJ(float data[][][][][])
 o RegularDataJ
 public RegularDataJ(float data[][][][][][])
 o RegularDataJ
 public RegularDataJ(float data[],
                     ParaKeeper para)
 o RegularDataJ
 public RegularDataJ(float data[][],
                     ParaKeeper para)
 o RegularDataJ
 public RegularDataJ(float data[][][],
                     ParaKeeper para)
 o RegularDataJ
 public RegularDataJ(float data[][][][],
                     ParaKeeper para)
 o RegularDataJ
 public RegularDataJ(float data[][][][][],
                     ParaKeeper para)
 o RegularDataJ
 public RegularDataJ(float data[][][][][][],
                     ParaKeeper para)
 o RegularDataJ
 public RegularDataJ(InputStream istr) throws IOException
 o RegularDataJ
 public RegularDataJ(String fileName) throws IOException

Methods

 o set
 public void set(String paraName,
                 String paraValue)
This should probably return the value Hashtable's put() returns

 o read
 public void read(String fileName) throws IOException
 o read
 public void read(InputStream istr) throws IOException
 o write
 public void write(OutputStream outstr) throws IOException
 o getDim
 public int getDim()
 o containsKey
 public boolean containsKey(String paraName)
 o getString
 public String getString(String paraName)
 o getString
 public String getString(String paraName,
                         String deflt)
 o getInt
 public int getInt(String paraName)
 o getInt
 public int getInt(String paraName,
                   String deflt)
 o getFloat
 public float getFloat(String paraName)
 o getFloat
 public float getFloat(String paraName,
                       String deflt)
 o getDouble
 public double getDouble(String paraName)
 o getDouble
 public double getDouble(String paraName,
                         String deflt)
 o getBoolean
 public boolean getBoolean(String paraName)
 o getBoolean
 public boolean getBoolean(String paraName,
                           String deflt)
 o getData
 public Object getData()
 o setData
 public void setData(float input[])

All Packages  Class Hierarchy  This Package  Previous  Next  Index