public final class ReadRecordsRespPars extends AbstractPoResponseParser
| Constructor and Description |
|---|
ReadRecordsRespPars(org.eclipse.keyple.core.card.message.ApduResponse apduResponse,
ReadRecordsCmdBuild builder)
Instantiates a new ReadRecordsRespPars.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.SortedMap<java.lang.Integer,byte[]> |
getRecords()
Parses the Apdu response as a data record (single or multiple), retrieves the records and place
it in an map.
|
protected java.util.Map<java.lang.Integer,org.eclipse.keyple.core.card.command.AbstractApduResponseParser.StatusProperties> |
getStatusTable() |
buildCommandException, checkStatus, getBuilderpublic ReadRecordsRespPars(org.eclipse.keyple.core.card.message.ApduResponse apduResponse,
ReadRecordsCmdBuild builder)
apduResponse - the response from the PObuilder - the reference to the builder that created this parserprotected java.util.Map<java.lang.Integer,org.eclipse.keyple.core.card.command.AbstractApduResponseParser.StatusProperties> getStatusTable()
getStatusTable in class org.eclipse.keyple.core.card.command.AbstractApduResponseParserpublic java.util.SortedMap<java.lang.Integer,byte[]> getRecords()
The map index follows the PO specification, i.e. starts at 1 for the first record.
An empty map is returned if no data is available.