Package org.jmrtd

Class FileSystemCardService

  • Direct Known Subclasses:
    AbstractMRTDCardService

    public abstract class FileSystemCardService
    extends net.sf.scuba.smartcards.CardService
    A card service that acts as a (file identifier indexed) file system.
    Version:
    $Revision: 1781 $
    Author:
    The JMRTD team ([email protected])
    • Field Summary

      • Fields inherited from class net.sf.scuba.smartcards.CardService

        SESSION_STARTED_STATE, SESSION_STOPPED_STATE, state
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      abstract net.sf.scuba.smartcards.CardFileInputStream getInputStream​(short fid)
      Returns an input stream to access the file indicated by the file identifier.
      • Methods inherited from class net.sf.scuba.smartcards.CardService

        addAPDUListener, close, getAPDUListeners, getATR, getInstance, isConnectionLost, isExtendedAPDULengthSupported, isOpen, notifyExchangedAPDU, open, removeAPDUListener, transmit
    • Constructor Detail

      • FileSystemCardService

        public FileSystemCardService()
    • Method Detail

      • getInputStream

        public abstract net.sf.scuba.smartcards.CardFileInputStream getInputStream​(short fid)
                                                                            throws net.sf.scuba.smartcards.CardServiceException
        Returns an input stream to access the file indicated by the file identifier.
        Parameters:
        fid - the file identifier
        Returns:
        a stream to read from
        Throws:
        net.sf.scuba.smartcards.CardServiceException - on error creating the stream