Class SQLFilter

java.lang.Object
org.bouncycastle.i18n.filter.SQLFilter
All Implemented Interfaces:
Filter

public class SQLFilter extends Object implements Filter
Filter for strings to store in a SQL table. escapes ' " = - / \ ; \r \n
  • Constructor Details

    • SQLFilter

      public SQLFilter()
  • Method Details

    • doFilter

      public String doFilter(String input)
      Description copied from interface: Filter
      Runs the filter on the input String and returns the filtered String
      Specified by:
      doFilter in interface Filter
      Parameters:
      input - input String
      Returns:
      filtered String
    • doFilterUrl

      public String doFilterUrl(String input)
      Description copied from interface: Filter
      Runs the filter on the input url and returns the filtered String
      Specified by:
      doFilterUrl in interface Filter
      Parameters:
      input - input url String
      Returns:
      filtered String