|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectds.ov2.gui.Printable_aid
public class Printable_aid
Equip cardservices.AID with a toString method for the applet list
dialog. If the applet ID consists only of printable characters, as
it is the case for all applets in this repository, the result of
toString()
is just the readable applet name. If there is one
non-printable charakter, toString()
will return the applet
ID as byte array in hex.
The result of this toString method is only computed once in the constructor.
Field Summary | |
---|---|
cardservices.AID |
aid
The applet identifier this instance wraps. |
Charset |
char_set_us_ascii
US-ASCII character set for converting strings into byte arrays. |
String |
printable_name
The string to be returned by toString() . |
Constructor Summary | |
---|---|
Printable_aid(cardservices.AID aid)
Constructor. |
Method Summary | |
---|---|
String |
toString()
Return a more readable representation of the applet ID. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public final Charset char_set_us_ascii
public final cardservices.AID aid
public final String printable_name
toString()
.
Constructor Detail |
---|
public Printable_aid(cardservices.AID aid)
printable_name
.
aid
- the applet ID to wrapMethod Detail |
---|
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |