Class StationRegularExpression
java.lang.Object
edu.sc.seis.sod.subsetter.station.StationRegularExpression
- All Implemented Interfaces:
SodElement
,StationSubsetter
,Subsetter
public class StationRegularExpression extends java.lang.Object implements StationSubsetter
-
Constructor Summary
Constructors Constructor Description StationRegularExpression(org.w3c.dom.Element el)
-
Method Summary
Modifier and Type Method Description StringTree
accept(edu.sc.seis.seisFile.fdsnws.stationxml.Station station, NetworkSource network)
static java.util.regex.Pattern[]
readPattern(java.lang.String filterURL)
-
Constructor Details
-
StationRegularExpression
public StationRegularExpression(org.w3c.dom.Element el) throws java.io.IOException, javax.xml.xpath.XPathException- Throws:
java.io.IOException
javax.xml.xpath.XPathException
-
-
Method Details
-
accept
public StringTree accept(edu.sc.seis.seisFile.fdsnws.stationxml.Station station, NetworkSource network) throws java.lang.Exception- Specified by:
accept
in interfaceStationSubsetter
- Throws:
java.lang.Exception
-
readPattern
public static java.util.regex.Pattern[] readPattern(java.lang.String filterURL) throws java.io.IOException- Throws:
java.io.IOException
-