java.lang.Object
com.itemis.jscdlib.SCardLibHandle
- All Implemented Interfaces:
AutoCloseable
Provides convenient Java versions of SCard based functionality.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
SCardLibHandle
-
-
Method Details
-
listReaders
Query the OS for available smart card readers.
Be aware: The current implementation of this method allocates and destroys resources each time this method is called, which is a very costly operation. Thus it is not a good idea to call this method very often in small amount of time.
- Returns:
- A list of available reader names or empty list if none is available.
- Throws:
JScdException- if something went wrong.
-
close
- Specified by:
closein interfaceAutoCloseable- Throws:
Exception
-