jd.xml.util.resolver
Class Text2XmlResolver

java.lang.Object
  extended byjd.xml.util.DefaultUriResolver
      extended byjd.xml.util.resolver.ConvertingResolver
          extended byjd.xml.util.resolver.Text2XmlResolver
All Implemented Interfaces:
UriResolver

public class Text2XmlResolver
extends ConvertingResolver

Text2XmlResolver is a UriResolver which reads plain text, and converts it to a xml-ified version of the form: ...text line...


Field Summary
 
Fields inherited from class jd.xml.util.DefaultUriResolver
INSTANCE
 
Constructor Summary
Text2XmlResolver()
           
 
Method Summary
protected  XmlSource resolve(String uri, BufferedReader in)
           
 
Methods inherited from class jd.xml.util.resolver.ConvertingResolver
resolveUri
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Text2XmlResolver

public Text2XmlResolver()
Method Detail

resolve

protected XmlSource resolve(String uri,
                            BufferedReader in)
                     throws IOException
Specified by:
resolve in class ConvertingResolver
Throws:
IOException