org.opensha.commons.data.siteData.servlet
Class SiteDataServletAccessor<Element>
java.lang.Object
org.opensha.commons.data.siteData.servlet.SiteDataServletAccessor<Element>
public class SiteDataServletAccessor<Element>
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SiteDataServletAccessor
public SiteDataServletAccessor(String servletURL)
getMaxLocsPerRequest
public int getMaxLocsPerRequest()
setMaxLocsPerRequest
public void setMaxLocsPerRequest(int maxLocsPerRequest)
getValue
public Element getValue(Location loc)
throws IOException
- Throws:
IOException
getClosestLocation
public Location getClosestLocation(Location loc)
throws IOException
- Throws:
IOException
getValues
public ArrayList<Element> getValues(LocationList locs)
throws IOException
- Throws:
IOException
openServletConnection
protected URLConnection openServletConnection()
throws IOException
- Throws:
IOException