|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--org.jdom.input.AbstractBuilder
AbstractBuilder implements
, and provides a concrete
implementation of several convenience methods to build
a Builder.
Document
| Constructor Summary | |
AbstractBuilder()
|
|
| Method Summary | |
Document |
build(java.io.File file)
This builds a document from the supplied filename. |
abstract Document |
build(java.io.InputStream in)
This builds a document from the supplied input stream. |
Document |
build(java.net.URL url)
This builds a document from the supplied URL. |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| Constructor Detail |
public AbstractBuilder()
| Method Detail |
public abstract Document build(java.io.InputStream in)
throws JDOMException
This builds a document from the supplied input stream.
in - InputStream to read from.Document - resultant Document object.JDOMException - when errors occur in
parsing.
public Document build(java.io.File file)
throws JDOMException
This builds a document from the supplied filename.
file - File to read from.Document - resultant Document object.JDOMException - when errors occur in
parsing.
public Document build(java.net.URL url)
throws JDOMException
This builds a document from the supplied URL.
url - URL to read from.Document - resultant Document object.JDOMException - when errors occur in
parsing.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||