Class Native2AsciiFilter

All Implemented Interfaces:
Cloneable, ChainableReader, TokenFilter.Filter

public class Native2AsciiFilter extends TokenFilter.ChainableReaderFilter
A filter that performs translations from characters to their Unicode-escape sequences and vice-versa.
Ant 1.9.8
  • Constructor Details

    • Native2AsciiFilter

      public Native2AsciiFilter()
  • Method Details

    • setReverse

      public void setReverse(boolean reverse)
      Flag the conversion to run in the reverse sense, that is Ascii to Native encoding.
      reverse - True if the conversion is to be reversed, otherwise false;
    • filter

      public String filter(String line)
      Description copied from interface: TokenFilter.Filter
      filter and/of modify a string
      line - the string to filter
      the modified string or null if the string did not pass the filter