com.jaccal.command.iso
Class ISOReadRecord

java.lang.Object
  extended bycom.jaccal.command.Command
      extended bycom.jaccal.command.iso.ISOCommand
          extended bycom.jaccal.command.iso.ISOReadRecord
Direct Known Subclasses:
GSMReadRecord

public class ISOReadRecord
extends ISOCommand

Author:
Thomas Tarpin-Lyonnet

Field Summary
 
Fields inherited from class com.jaccal.command.Command
cla, data, ins, lc, le, p1, p2
 
Constructor Summary
ISOReadRecord(String recordNumber, String le)
          Construct a ISO APDU command that reads the record number recordNumber
from the current selected file.
ISOReadRecord(String fileSFI, String recordNumber, String le)
          Construct a ISO APDU command that reads the record number recordNumber
in the file specified by fileSFI.
 
Methods inherited from class com.jaccal.command.iso.ISOCommand
setCla
 
Methods inherited from class com.jaccal.command.Command
getBytes, getCla, getData, getIns, getLc, getLe, getP1, getP2, setData, setLc, setLe, setP1, setP2, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ISOReadRecord

public ISOReadRecord(String recordNumber,
                     String le)
              throws CardException
Construct a ISO APDU command that reads the record number recordNumber
from the current selected file.

Parameters:
recordNumber - Hexadecimal value of the record number. Ex:"0C"
le - Hexadecimal value of the expected length. Ex:"AB"
Throws:
CardException

ISOReadRecord

public ISOReadRecord(String fileSFI,
                     String recordNumber,
                     String le)
              throws CardException
Construct a ISO APDU command that reads the record number recordNumber
in the file specified by fileSFI.

Parameters:
recordNumber - Hexadecimal value of the record number. Ex:"0C"
fileSFI - Hexadecimal value of the file SFI. Ex: "08"
le - Hexadecimal value of the expected length. Ex:"AB"
Throws:
CardException


Copyright © 2005 Chang Sau Sheong, Thomas Tarpin-Lyonnet. All Rights Reserved.