public class CardResource<T extends AbstractSmartCard>
extends java.lang.Object
AbstractSmartCard
and its associated Reader
Constructor and Description |
---|
CardResource(Reader reader,
T smartCard)
Constructor
|
Modifier and Type | Method and Description |
---|---|
Reader |
getReader()
Gets the reader
|
T |
getSmartCard()
Gets the card
|
public CardResource(Reader reader, T smartCard)
reader
- the Reader
with which the card is communicatingsmartCard
- the AbstractSmartCard
information structurepublic Reader getReader()
Reader
for this cardpublic T getSmartCard()
AbstractSmartCard