Bouncy Castle Cryptography Library 1.77.0

org.bouncycastle.pkix.util.filter
Class SQLFilter

java.lang.Object
  |
  +--org.bouncycastle.pkix.util.filter.SQLFilter
All Implemented Interfaces:
Filter

public class SQLFilter
extends java.lang.Object
implements Filter

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


Constructor Summary
SQLFilter()
           
 
Method Summary
 java.lang.String doFilter(java.lang.String input)
          Runs the filter on the input String and returns the filtered String
 java.lang.String doFilterUrl(java.lang.String input)
          Runs the filter on the input url and returns the filtered String
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SQLFilter

public SQLFilter()
Method Detail

doFilter

public java.lang.String doFilter(java.lang.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
Following copied from interface: org.bouncycastle.pkix.util.filter.Filter
Parameters:
input - input String
Returns:
filtered String

doFilterUrl

public java.lang.String doFilterUrl(java.lang.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
Following copied from interface: org.bouncycastle.pkix.util.filter.Filter
Parameters:
input - input url String
Returns:
filtered String

Bouncy Castle Cryptography Library 1.77.0