Class HqlHumanUtil.TermEscaper

  • Enclosing class:
    HqlHumanUtil

    public static class HqlHumanUtil.TermEscaper
    extends org.apache.commons.lang3.text.translate.CharSequenceTranslator
    Escapes any non-letter or non-digit characters, except glue characters or characters that never need escaping.
    Author:
    Netherlands Forensic Institute
    • Constructor Detail

      • TermEscaper

        public TermEscaper()
    • Method Detail

      • translate

        public int translate​(CharSequence input,
                             int index,
                             Writer out)
                      throws IOException
        Specified by:
        translate in class org.apache.commons.lang3.text.translate.CharSequenceTranslator
        Throws:
        IOException