edu.sc.seis.fissuresUtil.rt130
Class XYReader

java.lang.Object
  extended by edu.sc.seis.fissuresUtil.rt130.XYReader

public class XYReader
extends java.lang.Object


Field Summary
static java.lang.String XY_FILE_LOC
           
 
Constructor Summary
XYReader()
           
 
Method Summary
static java.util.Map create(java.util.Properties props)
           
static java.util.Map read(java.io.BufferedReader reader)
          Populates a map with station locations from the Reader Expects the reader to point to data with on station per line with float representations of longitude, latitude, elevation and then the station code seperated by spaces.
static java.lang.String toString(edu.iris.Fissures.Location loc)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

XY_FILE_LOC

public static final java.lang.String XY_FILE_LOC
See Also:
Constant Field Values
Constructor Detail

XYReader

public XYReader()
Method Detail

read

public static java.util.Map read(java.io.BufferedReader reader)
                          throws java.io.IOException
Populates a map with station locations from the Reader Expects the reader to point to data with on station per line with float representations of longitude, latitude, elevation and then the station code seperated by spaces. an optional comment can be appended after the code prefixed with a # ie
       -118.3516 37.6599 1721. SNP27 
       -118.6468 37.6832 2457. SNP36 
       -120.2526 38.3331 1754. SNP95 # Provisional
 

Throws:
java.io.IOException

toString

public static java.lang.String toString(edu.iris.Fissures.Location loc)

create

public static java.util.Map create(java.util.Properties props)
                            throws java.io.IOException
Throws:
java.io.IOException