Class DediconBrl


  • public class DediconBrl
    extends Object
    Dedicon BRL Maps BRL characters to Unicode Braille characters Based on Wim Berden's dediconbrl.php Modifications: - added missing characters so that all uppercase/lowercase combinations are present - reordered so that an uppercase character always precedes the lowercase variant - changed Ú mapping from 0x2839 to 0x283E
    Author:
    Paul Rambags
    • Constructor Detail

      • DediconBrl

        public DediconBrl()
    • Method Detail

      • convert

        public static String convert​(String braille)
        Convert BRL characters to unicode braille, if necessary. Sometimes a BRL character must be converted to a unicode braille character. For instance, the pipeline would convert BRL character ~ to (5 26) but it should be converted to (56) according to the table above. Case information gets lost when converting to unicode braille. Therefore, as much as possible we let the pipeline take care of the conversion to unicode braille.
        Parameters:
        braille - Symbol replacement
        Returns:
        certain BRL characters replaced by Unicode braille characters