01: package org.bouncycastle.i18n.filter;
02:
03: public interface Filter {
04:
05: /**
06: * Runs the filter on the input String and returns the filtered String
07: * @param input input String
08: * @return filtered String
09: */
10: public String doFilter(String input);
11:
12: /**
13: * Runs the filter on the input url and returns the filtered String
14: * @param input input url String
15: * @return filtered String
16: */
17: public String doFilterUrl(String input);
18:
19: }
|