org.jscience.linguistics.braille.util
Class MakeBrailleLanguageUnicode

java.lang.Object
  extended by org.jscience.linguistics.braille.util.MakerBraille
      extended by org.jscience.linguistics.braille.util.MakeBrailleLanguageUnicode

public class MakeBrailleLanguageUnicode
extends MakerBraille

Creates Unicode version Language files as LanguageUnicode objects from the simple text editable version. See an existing language file for examples of layout. Some constraints: comment lines begin with ':' characters, and the language file must begin with two comment lines. The language file to be converted must be encoded in big-endian network-order Unicode.

Copyright 1999, 2004 Alasdair King. This program is free software under the terms of the GNU General Public License.


Field Summary
 
Fields inherited from class org.jscience.linguistics.braille.util.MakerBraille
DISK_ERROR, ESCAPE_CHARACTER_1, ESCAPE_CHARACTER_2, LANGUAGE_ERROR, SUCCESS, TABLE_DELIMITER
 
Method Summary
static void main(java.lang.String[] args)
          Command-line interface to translation function.
static void make(java.lang.String inputFilename, java.lang.String outputFilename)
          Turns the text-format human-editable inputFilename file into the LanguageUnicode serialized object outputFilename .
 
Methods inherited from class org.jscience.linguistics.braille.util.MakerBraille
getEscapedCharacter, skipComments, skipComments
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

main

public static void main(java.lang.String[] args)
Command-line interface to translation function. Takes two arguments, both Strings the file to convert from and the file to convert to. In fact, it calls the MakeBraille methods of MakeBrailleLegacy and MakeBrailleLanguageUnicode

Parameters:
args - args[0] is the input filename, args[1] is the output filename

make

public static void make(java.lang.String inputFilename,
                        java.lang.String outputFilename)
Turns the text-format human-editable inputFilename file into the LanguageUnicode serialized object outputFilename .

Parameters:
inputFilename - The path and filename for the language to convert except for the filename extension, which will be appended by the program.
outputFilename - The path and filename for the language to be produced, except for the filename extension, which will be appended by the program.