org.mbari.oasis
Class Pco2Reader

java.lang.Object
  extended byorg.mbari.oasis.Pco2Reader

public class Pco2Reader
extends java.lang.Object

Read a concatenated file of pC02 data. and provide methods to access that data


Constructor Summary
Pco2Reader(java.io.File file)
          Create a OasisPco2Reader and intialize memory.
Pco2Reader(java.io.File file, int format)
          Create a OasisPco2Reader and intialize memory.
Pco2Reader(java.io.File file, Pco2FileFormat format)
          Create a OasisPco2Reader and intialize memory.
Pco2Reader(java.lang.String file)
          Create a OasisPco2Reader and intialize memory.
Pco2Reader(java.lang.String file, int format)
          Create a OasisPco2Reader and intialize memory.
Pco2Reader(java.lang.String file, Pco2FileFormat format)
          Create a OasisPco2Reader and intialize memory.
 
Method Summary
 double[] get(java.lang.String key)
          Return the data
 Pco2FileFormat getFormat()
           
 double[] getPco2()
           
 double[] getPco2(java.lang.String type)
           
 double[] getTime()
           
 double[] getTime(java.lang.String type)
           
 java.util.Set getTypes()
           
static void test()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Pco2Reader

public Pco2Reader(java.io.File file)
           throws java.io.IOException
Create a OasisPco2Reader and intialize memory.


Pco2Reader

public Pco2Reader(java.lang.String file)
           throws java.io.IOException
Create a OasisPco2Reader and intialize memory.


Pco2Reader

public Pco2Reader(java.io.File file,
                  int format)
           throws java.io.IOException
Create a OasisPco2Reader and intialize memory.


Pco2Reader

public Pco2Reader(java.lang.String file,
                  int format)
           throws java.io.IOException
Create a OasisPco2Reader and intialize memory.


Pco2Reader

public Pco2Reader(java.io.File file,
                  Pco2FileFormat format)
           throws java.io.IOException
Create a OasisPco2Reader and intialize memory.


Pco2Reader

public Pco2Reader(java.lang.String file,
                  Pco2FileFormat format)
           throws java.io.IOException
Create a OasisPco2Reader and intialize memory.

Method Detail

get

public double[] get(java.lang.String key)
             throws java.lang.IllegalArgumentException
Return the data

Throws:
java.lang.IllegalArgumentException

getTime

public double[] getTime()
                 throws java.lang.IllegalArgumentException
Throws:
java.lang.IllegalArgumentException

getTime

public double[] getTime(java.lang.String type)
                 throws java.lang.IllegalArgumentException
Throws:
java.lang.IllegalArgumentException

getPco2

public double[] getPco2()
                 throws java.lang.IllegalArgumentException
Throws:
java.lang.IllegalArgumentException

getPco2

public double[] getPco2(java.lang.String type)
                 throws java.lang.IllegalArgumentException
Throws:
java.lang.IllegalArgumentException

getTypes

public java.util.Set getTypes()

getFormat

public Pco2FileFormat getFormat()

test

public static void test()