Package io.anyline.plugin.config
Class VinConfig
-
- All Implemented Interfaces:
public class VinConfig
Configuration for scanning vehicle identification numbers (VIN)
-
-
Field Summary
Fields Modifier and Type Field Description public String
validationRegex
public String
charWhitelist
-
Constructor Summary
Constructors Constructor Description VinConfig()
-
Method Summary
Modifier and Type Method Description String
getValidationRegex()
Sets a regular expression which the scanned text needs to match in order to trigger a scan result. void
setValidationRegex(String validationRegex)
Sets a regular expression which the scanned text needs to match in order to trigger a scan result. String
getCharWhitelist()
Restricts the scanner to a set of characters to be detected. void
setCharWhitelist(String charWhitelist)
Restricts the scanner to a set of characters to be detected. String
toString()
int
hashCode()
boolean
equals(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()
-
-
-
-