public static final class StringSanitiser.IntegerParsingFilter extends Object implements Sanitiser.Filter<String>
| Constructor and Description |
|---|
IntegerParsingFilter(String errorMessageFormat)
Creates an integer parsing filter.
|
| Modifier and Type | Method and Description |
|---|---|
String |
apply(String value)
Applies
Integer.valueOf(String) to a provided value. |
public IntegerParsingFilter(String errorMessageFormat)
errorMessageFormat - The error message formatpublic String apply(String value)
Integer.valueOf(String) to a provided value.apply in interface Sanitiser.Filter<String>value - The valueCopyright © 2022. All rights reserved.