|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.dsmltools.DSMLFile
This class does file IO for DSML documents. It contains methods to read a file containing DSML from disk, and write a Document out as a DSML file.
Constructor Summary | |
DSMLFile()
|
Method Summary | |
protected static org.w3c.dom.Document |
readDSML(java.lang.String xiFilename)
Reads DSML from a given filename, or stdin if the filename is null. |
protected static void |
writeDSML(java.lang.String xiFileName,
org.w3c.dom.Document xiDoc)
Writes a given document to a given filename, or to stdout if the filename is null. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DSMLFile()
Method Detail |
protected static org.w3c.dom.Document readDSML(java.lang.String xiFilename)
xiFilename
- The filename to read from, or null to read from stdin.
protected static void writeDSML(java.lang.String xiFileName, org.w3c.dom.Document xiDoc)
xiFileName
- The file to write to, or null for stdoutxiDoc
- The Document to write
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |