[liblouis-liblouisxml] liblouisutdml Java bindings ready for testing

  • From: "John J. Boyer" <john.boyer@xxxxxxxxxxxxxxxxx>
  • To: liblouis-liblouisxml@xxxxxxxxxxxxx
  • Date: Mon, 18 Jul 2011 01:42:04 -0500

This message was originally sent to the BrailleBlaster list. Some of you 
may also wish to join in the testing. As stated, in another message to 
that list, communication between a Java program and liblouisutdml is by 
means of String constants for things like file names and Byte arrays 
containing UTF-8 for both input and output data. Things like input and 
output positions are communicated by Int arrays. Bindings tgo liblouis 
functions are supplemented with a parameter for a log file name.

Here is a list of methods and their functions.

Method: Function
version: returns the versions of both liblouis and liblouisutdml
translateString: binds to lbu_translateString (liblouisutdml)
backTranslateString: binds to lbu_backTranslateString
translateFile: binds to lbu_translateFile
translateTextFile: binds to lbu_translateTextFile
backTranslateFile: binds to lbu_backTranslateFile
charToDots: binds to lou_charToDots (liblouis)
dotsToChar: binds to lou_dotsToChar
checkTable: binds to lou_getTable
compileString: binds to lou_compileString
setDataPath: binds to lou_setDataPath
charSize: returns character size used by liblouis
setWriteablePath: binds to lbu_setWriteablePath
free: binds to lbu_free
file2brl: emulates file2brl command
louisTranslateString: binds to lou_translateString
louisTranslate: binds to lou_translate
hyphenate: binds to lou_hyphenate
louisBackTranslateString: binds to lou_backTranslateString
louisBactTranslate: binds to lou_backTranslate
setLogFile: binds to lou_logFile
logMessage: binds to lou_logPrint
logEnd: binds to lou_logEnd

-- 
John J. Boyer; President, Chief Software Developer
Abilitiessoft, Inc.
http://www.abilitiessoft.com
Madison, Wisconsin USA
Developing software for people with disabilities


----- End forwarded message -----

-- 
John J. Boyer; President, Chief Software Developer
Abilitiessoft, Inc.
http://www.abilitiessoft.com
Madison, Wisconsin USA
Developing software for people with disabilities

For a description of the software, to download it and links to
project pages go to http://www.abilitiessoft.com

Other related posts:

  • » [liblouis-liblouisxml] liblouisutdml Java bindings ready for testing - John J. Boyer