public class TokenizedData extends Object
Example Usage: scanDataCollection.getTokenizedData();
Modifier and Type | Class and Description |
---|---|
static class |
TokenizedData.Keys |
class |
TokenizedData.Token |
Modifier and Type | Method and Description |
---|---|
ArrayList<TokenizedData.Token> |
getTokens()
Returns all the tokens with it's data.
|
ArrayList<TokenizedData.Token> |
getTokensByKey(String key)
Returns the tokens for the given token key.
|
public ArrayList<TokenizedData.Token> getTokens()
public ArrayList<TokenizedData.Token> getTokensByKey(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.