edu.sc.seis.seisFile
Class StringMSeedQueryReader
java.lang.Object
edu.sc.seis.seisFile.StringMSeedQueryReader
- All Implemented Interfaces:
- MSeedQueryReader
- Direct Known Subclasses:
- CWBReader, WaveServer
public abstract class StringMSeedQueryReader
- extends java.lang.Object
- implements MSeedQueryReader
Method Summary |
abstract java.lang.String |
createQuery(java.lang.String network,
java.lang.String station,
java.lang.String location,
java.lang.String channel,
java.util.Date begin,
java.util.Date end)
|
boolean |
isTimed()
|
boolean |
isVerbose()
|
abstract java.util.List<DataRecord> |
read(java.lang.String query)
|
java.util.List<DataRecord> |
read(java.lang.String network,
java.lang.String station,
java.lang.String location,
java.lang.String channel,
java.util.Date begin,
java.util.Date end)
|
void |
setTimed(boolean timed)
|
void |
setVerbose(boolean verbose)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
bytesRead
public int bytesRead
seconds
public float seconds
StringMSeedQueryReader
public StringMSeedQueryReader()
read
public java.util.List<DataRecord> read(java.lang.String network,
java.lang.String station,
java.lang.String location,
java.lang.String channel,
java.util.Date begin,
java.util.Date end)
throws java.io.IOException,
SeisFileException,
SeedFormatException
- Specified by:
read
in interface MSeedQueryReader
- Throws:
java.io.IOException
SeisFileException
SeedFormatException
createQuery
public abstract java.lang.String createQuery(java.lang.String network,
java.lang.String station,
java.lang.String location,
java.lang.String channel,
java.util.Date begin,
java.util.Date end)
read
public abstract java.util.List<DataRecord> read(java.lang.String query)
throws java.io.IOException,
SeisFileException,
SeedFormatException
- Throws:
java.io.IOException
SeisFileException
SeedFormatException
isVerbose
public boolean isVerbose()
setVerbose
public void setVerbose(boolean verbose)
- Specified by:
setVerbose
in interface MSeedQueryReader
isTimed
public boolean isTimed()
setTimed
public void setTimed(boolean timed)
- Specified by:
setTimed
in interface MSeedQueryReader