public class CardInfo
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private java.util.Hashtable |
infos |
Constructor and Description |
---|
CardInfo() |
Modifier and Type | Method and Description |
---|---|
void |
addProperty(java.lang.String attribute,
java.lang.Object value)
Adds the given attribute with corresponding value.
|
java.lang.String |
getProperty(java.lang.String attribute)
Retrieves the value for the given attribute.
|
public void addProperty(java.lang.String attribute, java.lang.Object value)
attribute
- key for retrieving the information.value
- information to store.public java.lang.String getProperty(java.lang.String attribute)
attribute
- key to search.null
if not found.