edu.sc.seis.sod.subsetter
Class AreaSubsetter

java.lang.Object
  extended by edu.sc.seis.sod.subsetter.AreaSubsetter
Direct Known Subclasses:
EventArea, MidPoint, SiteArea, StationArea

public class AreaSubsetter
extends java.lang.Object


Field Summary
protected  Area area
           
protected  Location[] locationArray
           
 
Constructor Summary
AreaSubsetter(org.w3c.dom.Element config)
           
 
Method Summary
 boolean accept(Location loc)
           
static Location[] extractPolygon(java.lang.String fileLocation)
           
static java.io.BufferedReader makeRelativeOrRecipeDirReader(java.lang.String fileLocation)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

area

protected Area area

locationArray

protected Location[] locationArray
Constructor Detail

AreaSubsetter

public AreaSubsetter(org.w3c.dom.Element config)
              throws ConfigurationException
Throws:
ConfigurationException
Method Detail

extractPolygon

public static Location[] extractPolygon(java.lang.String fileLocation)
                                 throws ConfigurationException
Throws:
ConfigurationException

makeRelativeOrRecipeDirReader

public static java.io.BufferedReader makeRelativeOrRecipeDirReader(java.lang.String fileLocation)
                                                            throws java.io.FileNotFoundException
Throws:
java.io.FileNotFoundException

accept

public boolean accept(Location loc)