|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectnet.dpml.transit.TransitBuilder
Utility class supporting the reading of Transit XML configurations.
| Constructor Summary | |
TransitBuilder(Logger logger)
Creation of a new transit configuration builder. |
|
| Method Summary | |
TransitDirective |
load(URL url)
Construct a transit configuration from a supplied uri. |
void |
write(TransitDirective directive,
OutputStream output)
Write a transit directive to an output stream as XML. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public TransitBuilder(Logger logger)
logger - the assigned logging channel| Method Detail |
public TransitDirective load(URL url)
throws Exception
url - the configuration url
Exception - if an error occurs during configuration loading
public void write(TransitDirective directive,
OutputStream output)
throws IOException
directive - the directive to externalizeoutput - the output stream to write to
IOException - if an I/O error occurs
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||