public class TokenizedData
extends java.lang.Object
Example Usage: scanDataCollection.getTokenizedData();
Modifier and Type | Class and Description |
---|---|
static class |
TokenizedData.Keys |
class |
TokenizedData.Token |
Modifier and Type | Method and Description |
---|---|
java.util.ArrayList<TokenizedData.Token> |
getTokens()
Returns all the tokens with it's data.
|
java.util.ArrayList<TokenizedData.Token> |
getTokensByKey(java.lang.String key)
Returns the tokens for the given token key.
|
public java.util.ArrayList<TokenizedData.Token> getTokens()
public java.util.ArrayList<TokenizedData.Token> getTokensByKey(java.lang.String key)
Example Usage: ArrayList<Token> tokens = scanDataCollection.getTokenizedData().getTokensByKey(TokenizedData.Keys.SERIAL);
key
- The Parameters to use to retrieve the data. TokenizedData.Keys can be used.ScannerException
- Exception will be throw if any error occurs while setting the parameters.