public class NCReader
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
class |
NCReader.BlankAndCommentHandler |
class |
NCReader.EndBlockHandler |
class |
NCReader.FormatException |
class |
NCReader.REHandler |
class |
NCReader.StartBlockHandler |
class |
NCReader.StationHandler |
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
INSTRUMENT_RE
Matches the entire instrumentation portion of a station line.
|
static java.lang.String |
LOC_RE
Matches a LOC specifier on a station line.
|
static java.lang.String |
NC_FILE_LOC |
static java.lang.String |
ORIENTATION_RE
Matches the orientation part of a station line in an nc file.
|
Constructor and Description |
---|
NCReader(edu.iris.Fissures.IfNetwork.NetworkAttr net,
java.util.Map initialLocations)
All items created by this DeluxeNCFile will be part of Network net.
|
NCReader(java.util.Properties props) |
Modifier and Type | Method and Description |
---|---|
void |
dumpSites() |
int |
getNumUnhandledLines() |
java.util.List |
getSites() |
java.lang.String |
getUnhandledLine(int index) |
java.lang.String |
getUnitId(edu.iris.Fissures.model.MicroSecondDate startTime,
java.lang.String stationCode) |
void |
load(java.io.BufferedReader source) |
void |
load(java.io.InputStream input) |
void |
load(java.io.Reader source) |
static void |
main(java.lang.String[] args) |
public static final java.lang.String ORIENTATION_RE
public static final java.lang.String INSTRUMENT_RE
public static final java.lang.String LOC_RE
public static final java.lang.String NC_FILE_LOC
public NCReader(java.util.Properties props) throws java.io.IOException
java.io.IOException
public NCReader(edu.iris.Fissures.IfNetwork.NetworkAttr net, java.util.Map initialLocations)
public void load(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public void load(java.io.Reader source) throws java.io.IOException
java.io.IOException
public void load(java.io.BufferedReader source) throws java.io.IOException
java.io.IOException
public java.util.List getSites()
public void dumpSites()
public java.lang.String getUnitId(edu.iris.Fissures.model.MicroSecondDate startTime, java.lang.String stationCode)
public int getNumUnhandledLines()
public java.lang.String getUnhandledLine(int index)
public static void main(java.lang.String[] args) throws java.io.IOException
java.io.IOException