org.shetline.weather
Class ForecastReader
java.lang.Object
org.shetline.weather.ForecastReader
public class ForecastReader
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
factory
protected static DocumentBuilderFactory factory
builder
protected static DocumentBuilder builder
instance
protected static ForecastReader instance
ForecastReader
public ForecastReader()
newInstance
public static ForecastReader newInstance()
parse
public Forecast parse(File file)
throws IOException,
SAXException
- Throws:
IOException
SAXException
parse
public Forecast parse(InputStream is)
throws IOException,
SAXException
- Throws:
IOException
SAXException
parse
public Forecast parse(InputStream is,
String systemId)
throws IOException,
SAXException
- Throws:
IOException
SAXException
parse
public Forecast parse(String uri)
throws IOException,
SAXException
- Throws:
IOException
SAXException
parse
protected Forecast parse(Document doc)
throws IOException,
SAXException
- Throws:
IOException
SAXException