com.liferay.portal.kernel.sanitizer
Class BaseSanitizer
java.lang.Object
com.liferay.portal.kernel.sanitizer.BaseSanitizer
- All Implemented Interfaces:
- Sanitizer
public abstract class BaseSanitizer
- extends Object
- implements Sanitizer
Method Summary |
byte[] |
sanitize(long companyId,
long groupId,
long userId,
String className,
long classPK,
String contentType,
String[] modes,
byte[] bytes,
Map<String,Object> options)
|
abstract void |
sanitize(long companyId,
long groupId,
long userId,
String className,
long classPK,
String contentType,
String[] modes,
InputStream inputStream,
OutputStream outputStream,
Map<String,Object> options)
|
String |
sanitize(long companyId,
long groupId,
long userId,
String className,
long classPK,
String contentType,
String[] modes,
String s,
Map<String,Object> options)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BaseSanitizer
public BaseSanitizer()
sanitize
public byte[] sanitize(long companyId,
long groupId,
long userId,
String className,
long classPK,
String contentType,
String[] modes,
byte[] bytes,
Map<String,Object> options)
throws SanitizerException
- Specified by:
sanitize
in interface Sanitizer
- Throws:
SanitizerException
sanitize
public abstract void sanitize(long companyId,
long groupId,
long userId,
String className,
long classPK,
String contentType,
String[] modes,
InputStream inputStream,
OutputStream outputStream,
Map<String,Object> options)
throws SanitizerException
- Specified by:
sanitize
in interface Sanitizer
- Throws:
SanitizerException
sanitize
public String sanitize(long companyId,
long groupId,
long userId,
String className,
long classPK,
String contentType,
String[] modes,
String s,
Map<String,Object> options)
throws SanitizerException
- Specified by:
sanitize
in interface Sanitizer
- Throws:
SanitizerException