public final class AppendRecordCmdBuild extends AbstractPoCommandBuilder<AppendRecordRespPars>
| Constructor and Description |
|---|
AppendRecordCmdBuild(PoClass poClass,
byte sfi,
byte[] newRecordData)
Instantiates a new UpdateRecordCmdBuild.
|
| Modifier and Type | Method and Description |
|---|---|
AppendRecordRespPars |
createResponseParser(org.eclipse.keyple.core.card.message.ApduResponse apduResponse)
Create the response parser matching the builder
|
byte[] |
getData() |
int |
getSfi() |
boolean |
isSessionBufferUsed()
Indicates if the session buffer is used when executing this command.
|
getCommandRefsetApduRequestpublic AppendRecordCmdBuild(PoClass poClass, byte sfi, byte[] newRecordData)
poClass - indicates which CLA byte should be used for the Apdusfi - the sfi to selectnewRecordData - the new record data to writejava.lang.IllegalArgumentException - - if the command is inconsistentpublic AppendRecordRespPars createResponseParser(org.eclipse.keyple.core.card.message.ApduResponse apduResponse)
createResponseParser in class AbstractPoCommandBuilder<AppendRecordRespPars>apduResponse - the response data from the the cardAbstractApduResponseParserpublic boolean isSessionBufferUsed()
Allows the management of the overflow of this buffer.
This command modified the contents of the PO and therefore uses the session buffer.
isSessionBufferUsed in class AbstractPoCommandBuilder<AppendRecordRespPars>public int getSfi()
public byte[] getData()