public class ForbidSubStr extends CellProcessorAdaptor implements StringCellProcessor
next| Constructor and Description | 
|---|
| ForbidSubStr(List<String> forbiddenSubStrings)Constructs a new ForbidSubStr processor which ensures the input doesn't contain any of the supplied
 substrings. | 
| ForbidSubStr(List<String> forbiddenSubStrings,
            CellProcessor next)Constructs a new ForbidSubStr processor which ensures the input doesn't contain any of the supplied
 substrings, then calls the next processor in the chain. | 
| ForbidSubStr(String... forbiddenSubStrings)Constructs a new ForbidSubStr processor which ensures the input doesn't contain any of the supplied
 substrings. | 
| ForbidSubStr(String[] forbiddenSubStrings,
            CellProcessor next)Constructs a new ForbidSubStr processor which ensures the input doesn't contain any of the supplied
 substrings, then calls the next processor in the chain. | 
| ForbidSubStr(String forbiddenSubString,
            CellProcessor next)Constructs a new ForbidSubStr processor which ensures the input doesn't contain the supplied substring,
 then calls the next processor in the chain. | 
| Modifier and Type | Method and Description | 
|---|---|
| Object | execute(Object value,
       CsvContext context)This method is invoked by the framework when the processor needs to process data or check constraints. | 
toString, validateInputNotNullpublic ForbidSubStr(List<String> forbiddenSubStrings)
forbiddenSubStrings - the List of forbidden substringsNullPointerException - if forbiddenSubStrings or one of its elements is nullIllegalArgumentException - if forbiddenSubStrings is emptypublic ForbidSubStr(String... forbiddenSubStrings)
forbiddenSubStrings - the forbidden substringsNullPointerException - if forbiddenSubStrings or one of its elements is nullIllegalArgumentException - if forbiddenSubStrings is emptypublic ForbidSubStr(List<String> forbiddenSubStrings, CellProcessor next)
forbiddenSubStrings - the List of forbidden substringsnext - the next processor in the chainNullPointerException - if forbiddenSubStrings, one of its elements or next is nullIllegalArgumentException - if forbiddenSubStrings is emptypublic ForbidSubStr(String forbiddenSubString, CellProcessor next)
forbiddenSubString - the forbidden substringnext - the next processor in the chainNullPointerException - if forbiddenSubString or next is nullpublic ForbidSubStr(String[] forbiddenSubStrings, CellProcessor next)
forbiddenSubStrings - the forbidden substringsnext - the next processor in the chainNullPointerException - if forbiddenSubStrings, one of its elements or next is nullIllegalArgumentException - if forbiddenSubStrings is emptypublic Object execute(Object value, CsvContext context)
execute in interface CellProcessorSuperCsvCellProcessorException - if value is nullSuperCsvConstraintViolationException - if value is in the forbidden listCopyright © 2007-2013 Super CSV. All Rights Reserved.