public class Reader extends Object
| Modifier and Type | Method and Description |
|---|---|
ATR |
getATR()
If a smart card is inserted into the reader, returns its ATR (answer-to-reset)
code.
|
String |
getDescription()
Returns a string describing model and make of the smart card reader.
|
int |
getSlot()
Returns the slot index assigned to this reader.
|
boolean |
hasSmartCard()
Returns whether this smart card reader had a smart card present
when this object was created; this information may not be actual
and may not reflect the real status of the physical reader if the
user inserted or removed the smart card after the creation of
this object.
|
String |
toString()
Returns a JSON-like representation of the reader's internal status.
|
public int getSlot()
public String getDescription()
public ATR getATR()
public boolean hasSmartCard()
Copyright © 2012-2014 Andrea Funtò. See here for terms and conditions.