public final class SelectFileCmdBuild extends AbstractPoCommandBuilder<SelectFileRespPars>
| Constructor and Description |
|---|
SelectFileCmdBuild(PoClass poClass,
byte[] selectionPath)
Instantiates a new SelectFileCmdBuild to select the first, next or current file in the current
DF.
|
SelectFileCmdBuild(PoClass poClass,
SelectFileControl selectFileControl)
Instantiates a new SelectFileCmdBuild to select the first, next or current file in the current
DF.
|
| Modifier and Type | Method and Description |
|---|---|
SelectFileRespPars |
createResponseParser(org.eclipse.keyple.core.card.message.ApduResponse apduResponse)
Create the response parser matching the builder
|
byte[] |
getPath()
The selection path can be null if the chosen constructor targets the current EF
|
SelectFileControl |
getSelectFileControl()
The file selection control can be null if the chosen constructor targets an explicit path
|
boolean |
isSessionBufferUsed()
Indicates if the session buffer is used when executing this command.
|
getCommandRefsetApduRequestpublic SelectFileCmdBuild(PoClass poClass, SelectFileControl selectFileControl)
poClass - indicates which CLA byte should be used for the ApduselectFileControl - the selection mode control: FIRST, NEXT or CURRENTpublic SelectFileCmdBuild(PoClass poClass, byte[] selectionPath)
poClass - indicates which CLA byte should be used for the ApduselectionPath - the file identifier pathpublic SelectFileRespPars createResponseParser(org.eclipse.keyple.core.card.message.ApduResponse apduResponse)
createResponseParser in class AbstractPoCommandBuilder<SelectFileRespPars>apduResponse - the response data from the the cardAbstractApduResponseParserpublic boolean isSessionBufferUsed()
Allows the management of the overflow of this buffer.
This command doesn't modify the contents of the PO and therefore doesn't uses the session buffer.
isSessionBufferUsed in class AbstractPoCommandBuilder<SelectFileRespPars>public byte[] getPath()
public SelectFileControl getSelectFileControl()