Package io.anyline.plugin.config
Class VinConfig
-
- All Implemented Interfaces:
public class VinConfigConfiguration for scanning vehicle identification numbers (VIN)
-
-
Field Summary
Fields Modifier and Type Field Description public StringvalidationRegexpublic StringcharWhitelist
-
Constructor Summary
Constructors Constructor Description VinConfig()
-
Method Summary
Modifier and Type Method Description StringgetValidationRegex()Sets a regular expression which the scanned text needs to match in order to trigger a scan result. voidsetValidationRegex(String validationRegex)Sets a regular expression which the scanned text needs to match in order to trigger a scan result. StringgetCharWhitelist()Restricts the scanner to a set of characters to be detected. voidsetCharWhitelist(String charWhitelist)Restricts the scanner to a set of characters to be detected. StringtoString()inthashCode()booleanequals(Object other)-
-
Method Detail
-
getValidationRegex
String getValidationRegex()
Sets a regular expression which the scanned text needs to match in order to trigger a scan result.
-
setValidationRegex
void setValidationRegex(String validationRegex)
Sets a regular expression which the scanned text needs to match in order to trigger a scan result.
-
getCharWhitelist
String getCharWhitelist()
Restricts the scanner to a set of characters to be detected.
-
setCharWhitelist
void setCharWhitelist(String charWhitelist)
Restricts the scanner to a set of characters to be detected.
-
hashCode
int hashCode()
-
-
-
-