public class

SQLFilter

extends Object
implements Filter
java.lang.Object
   ↳ org.bouncycastle.i18n.filter.SQLFilter

Class Overview

Filter for strings to store in a SQL table. escapes ' " = - / \ ; \r \n

Summary

Public Constructors
SQLFilter()
Public Methods
String doFilter(String input)
Runs the filter on the input String and returns the filtered String
String doFilterUrl(String input)
Runs the filter on the input url and returns the filtered String
[Expand]
Inherited Methods
From class java.lang.Object
From interface org.bouncycastle.i18n.filter.Filter

Public Constructors

public SQLFilter ()

Public Methods

public String doFilter (String input)

Runs the filter on the input String and returns the filtered String

Parameters
input input String
Returns
  • filtered String

public String doFilterUrl (String input)

Runs the filter on the input url and returns the filtered String

Parameters
input input url String
Returns
  • filtered String