java.lang.Object
org.txt2xml.cli.Batch
- public class Batch
- extends java.lang.Object
A simple command line utility to apply a txt2xml
conversion with a specified configuration to a set
of files.
Usage:
java org.txt2xml.cli.Batch *
Applies txt2xml to all source files as configured by the config_xml,
saving result xml by appending .xml to the source filename.
|
Constructor Summary |
Batch()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Batch
public Batch()
main
public static void main(java.lang.String[] args)
throws java.lang.Exception
processFile
private static void processFile(org.txt2xml.driver.StreamDriver driver,
java.lang.String sourceName)
throws java.lang.Exception