org.mbari.oasis
Class OasisHS2Processer
java.lang.Object
org.mbari.oasis.OasisHS2Processer
- public class OasisHS2Processer
- extends java.lang.Object
Used to process an HS2 data file or directory full of HS2 data files into a
single text file. The data fiels are assumed to be in the standard oasis
text format. The usage is:
OasisHS2Processer op = new OasisHS2Processer( ... );
op.process();
Its also meant to be used as a stand-alone command line program.
|
Constructor Summary |
OasisHS2Processer(java.lang.String src,
java.lang.String calFile,
java.lang.String destFile)
|
|
Method Summary |
static void |
main(java.lang.String[] args)
arg[0] = directory or file to parse
If it's a directory the processer will loop through all files in the directory. |
void |
process()
Method called to read the calibration file and store it as a properties object. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OasisHS2Processer
public OasisHS2Processer(java.lang.String src,
java.lang.String calFile,
java.lang.String destFile)
- Parameters:
src - A HS2 datafile or a directoy containg only hs2 datafilescalFile - The name of the calibration filedestFile - The name fo the file to write the calibrated data to.
process
public void process()
- Method called to read the calibration file and store it as a properties object.
main
public static void main(java.lang.String[] args)
- arg[0] = directory or file to parse
If it's a directory the processer will loop through all files in the directory.
and write the result to the output file. Otherwise it will only prcess the file specified
arg[1] = the calibration file to use. Thi sfile should be in a properties style format
arg[2] = The name of the file to create