edu.iris.dmc.extensions.fetch
Class TraceData

java.lang.Object
  extended by edu.iris.dmc.extensions.fetch.TraceData

public class TraceData
extends Object


Field Summary
static boolean VERBOSE
           
 
Constructor Summary
TraceData()
           
 
Method Summary
static Trace[] fetchTraces(StationCriteria[] aSc, boolean includePolesZeros)
           
static Trace[] fetchTraces(StationCriteria[] aSc, Character qualityChar, boolean includePolesZeros)
           
static Trace[] fetchTraces(StationCriteria[] aSc, Character qualityChar, boolean includePolesZeros, String username, String password)
           
static Trace[] fetchTraces(StationCriteria[] aSc, Character qualityChar, String username, String password, boolean includePolesZeros)
           
static Trace[] fetchTraces(StationCriteria[] aSc, String username, String password, boolean includePolesZeros)
           
static Trace[] fetchTraces(String network, String station, String location, String channel, Date startDate, Date endDate, char qualityChar, boolean includePolesZeros)
           
static Trace[] fetchTraces(String network, String station, String location, String channel, Date startDate, Date endDate, char qualityChar, boolean includePolesZeros, String username, String password)
           
static Trace[] fetchTraces(String network, String station, String location, String channel, String startDateStr, String endDateStr, char qualityChar, boolean includePolesZeros)
           
static Trace[] fetchTraces(String network, String station, String location, String channel, String startDateStr, String endDateStr, char qualityChar, boolean includePolesZeros, String username, String password)
           
static void setAppName(String appName)
           
static void setVerbosity(boolean verbose)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

VERBOSE

public static boolean VERBOSE
Constructor Detail

TraceData

public TraceData()
Method Detail

setAppName

public static void setAppName(String appName)

setVerbosity

public static void setVerbosity(boolean verbose)

fetchTraces

public static Trace[] fetchTraces(String network,
                                  String station,
                                  String location,
                                  String channel,
                                  String startDateStr,
                                  String endDateStr,
                                  char qualityChar,
                                  boolean includePolesZeros)
                           throws Exception
Parameters:
network -
station -
location -
channel -
startDateStr -
endDateStr -
qualityChar -
includePolesZeros -
Returns:
Trace[]
Throws:
Exception

fetchTraces

public static Trace[] fetchTraces(String network,
                                  String station,
                                  String location,
                                  String channel,
                                  String startDateStr,
                                  String endDateStr,
                                  char qualityChar,
                                  boolean includePolesZeros,
                                  String username,
                                  String password)
                           throws Exception
Parameters:
network -
station -
location -
channel -
startDateStr -
endDateStr -
qualityChar -
includePolesZeros -
username -
password -
Returns:
Trace[]
Throws:
Exception

fetchTraces

public static Trace[] fetchTraces(String network,
                                  String station,
                                  String location,
                                  String channel,
                                  Date startDate,
                                  Date endDate,
                                  char qualityChar,
                                  boolean includePolesZeros)
                           throws IOException,
                                  NoDataFoundException,
                                  CriteriaException,
                                  Exception
Parameters:
network -
station -
location -
channel -
startDate -
endDate -
qualityChar -
includePolesZeros -
Returns:
Trace[]
Throws:
IOException
NoDataFoundException
CriteriaException
Exception

fetchTraces

public static Trace[] fetchTraces(String network,
                                  String station,
                                  String location,
                                  String channel,
                                  Date startDate,
                                  Date endDate,
                                  char qualityChar,
                                  boolean includePolesZeros,
                                  String username,
                                  String password)
                           throws IOException,
                                  NoDataFoundException,
                                  CriteriaException,
                                  Exception
Parameters:
network -
station -
location -
channel -
startDate -
endDate -
qualityChar -
includePolesZeros -
username -
password -
Returns:
Trace[]
Throws:
IOException
NoDataFoundException
CriteriaException
Exception

fetchTraces

public static Trace[] fetchTraces(StationCriteria[] aSc,
                                  boolean includePolesZeros)
                           throws IOException,
                                  NoDataFoundException,
                                  CriteriaException,
                                  Exception
Parameters:
aSc -
includePolesZeros -
Returns:
Trace[]
Throws:
IOException
NoDataFoundException
CriteriaException
Exception

fetchTraces

public static Trace[] fetchTraces(StationCriteria[] aSc,
                                  String username,
                                  String password,
                                  boolean includePolesZeros)
                           throws IOException,
                                  NoDataFoundException,
                                  CriteriaException,
                                  Exception
Parameters:
aSc -
username -
password -
includePolesZeros -
Returns:
Trace[]
Throws:
IOException
NoDataFoundException
CriteriaException
Exception

fetchTraces

public static Trace[] fetchTraces(StationCriteria[] aSc,
                                  Character qualityChar,
                                  boolean includePolesZeros)
                           throws IOException,
                                  NoDataFoundException,
                                  CriteriaException,
                                  Exception
Parameters:
aSc -
qualityChar -
includePolesZeros -
Returns:
Trace[]
Throws:
IOException
NoDataFoundException
CriteriaException
Exception

fetchTraces

public static Trace[] fetchTraces(StationCriteria[] aSc,
                                  Character qualityChar,
                                  String username,
                                  String password,
                                  boolean includePolesZeros)
                           throws IOException,
                                  NoDataFoundException,
                                  CriteriaException,
                                  Exception
Parameters:
aSc -
qualityChar -
username -
password -
includePolesZeros -
Returns:
Trace[]
Throws:
IOException
NoDataFoundException
CriteriaException
Exception

fetchTraces

public static Trace[] fetchTraces(StationCriteria[] aSc,
                                  Character qualityChar,
                                  boolean includePolesZeros,
                                  String username,
                                  String password)
                           throws IOException,
                                  NoDataFoundException,
                                  CriteriaException,
                                  Exception
Parameters:
aSc -
qualityChar -
includePolesZeros -
username -
password -
Returns:
Trace[]
Throws:
IOException
NoDataFoundException
CriteriaException
Exception


Copyright © 2013. All Rights Reserved.