public class SanitizeAspect extends Object
Constructor and Description |
---|
SanitizeAspect() |
Modifier and Type | Method and Description |
---|---|
void |
sanitize(org.aspectj.lang.ProceedingJoinPoint jp,
String in,
Sanitize sanitize)
This method sanitizes the given string in all means:
It removes leading and trailing whitspace.
|
public void sanitize(org.aspectj.lang.ProceedingJoinPoint jp, String in, Sanitize sanitize) throws Throwable
jp
- The join-point captured by AspectJ.in
- The String whose non-valid characters we want to remove.sanitize
- The annotation, the field was marked with.Throwable
Copyright © 2015. All rights reserved.