Class 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 Detail

      • SQLFilter

        public SQLFilter()
    • Method Detail

      • 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