Sky View Café - Java

org.shetline.weather
Class ForecastReader

java.lang.Object
  extended by org.shetline.weather.ForecastReader

public class ForecastReader
extends Object


Field Summary
protected static DocumentBuilder builder
           
protected static DocumentBuilderFactory factory
           
protected static ForecastReader instance
           
 
Constructor Summary
ForecastReader()
           
 
Method Summary
static ForecastReader newInstance()
           
protected  Forecast parse(Document doc)
           
 Forecast parse(File file)
           
 Forecast parse(InputStream is)
           
 Forecast parse(InputStream is, String systemId)
           
 Forecast parse(String uri)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

factory

protected static DocumentBuilderFactory factory

builder

protected static DocumentBuilder builder

instance

protected static ForecastReader instance
Constructor Detail

ForecastReader

public ForecastReader()
Method Detail

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

Sky View Café - Java