nux.xom.tests
Class BinaryXMLConverter
java.lang.Object
nux.xom.tests.BinaryXMLConverter
- public final class BinaryXMLConverter
- extends Object
Command-line demo that converts a set of standard textual XML files to and from binary xml (bnux) files;
Bnux files are indicated by a ".bnux" file name extension.
Output files are written in the same directory as the input files,
with the ".bnux" file extension added or stripped, respectively.
Example usage:
export CLASSPATH=lib/nux.jar:lib/saxon8.jar:lib/saxon8-xom.jar:lib/xom.jar
java -server nux.xom.tests.BinaryXMLConverter samples/*.xml
java -server nux.xom.tests.BinaryXMLConverter samples/*.bnux
- Author:
- whoschek.AT.lbl.DOT.gov, $Author: hoschek3 $
- See Also:
BinaryXMLCodec
Method Summary |
static void |
main(String[] args)
Runs the demo program. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
main
public static void main(String[] args)
throws Exception
- Runs the demo program.
- Throws:
Exception