sigmldoc2signdocs
Class Main

java.lang.Object
  extended by sigmldoc2signdocs.Main

public class Main
extends java.lang.Object

Main class for the SiGML document-to-signs splitter.


Constructor Summary
Main()
           
 
Method Summary
static void main(java.lang.String[] args)
          Splits a SiGML document into separate SiGML documents, one per sign.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Main

public Main()
Method Detail

main

public static void main(java.lang.String[] args)
                 throws java.io.IOException
Splits a SiGML document into separate SiGML documents, one per sign. If the document comes from standard input then the results are printed to standard output; if it comes from a named file then the results are output to individual files in a new subdirectory of the original file's parent directory, the new directory's name ending with "-signs". NB This is not proper XML processing, just simple text processing, intended primarily for use with machine-generated input files. It can probably be fooled by signs in XML comments, and such like -- and if fooled will be silent about it. The source SiGML document is assumed to be UTF-8, and is taken from standard input, unless an argument is provided, defining a file system path for it. The results, whether in multiple files or on standard output, are provided as UTF-8.

Throws:
java.io.IOException