Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.txt2xml.cli
Class Batch  view Batch download Batch.java

java.lang.Object
  extended byorg.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()
           
 
Method Summary
static void main(java.lang.String[] args)
           
private static void processFile(org.txt2xml.driver.StreamDriver driver, java.lang.String sourceName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Batch

public Batch()
Method Detail

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