|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.smardec.license4j.License
Represents the license. It supports any number of features and their values (like Hashtable).
Constructor Summary | |
License()
Creates License. |
Method Summary | |
void |
addFeature(java.lang.String name,
java.lang.String value)
Adds feature to the license. |
java.lang.String |
getFeature(java.lang.String name)
Returns feature's value with the specified feature's name. |
java.util.List |
getFeatureList()
Returns list of features in their right order. |
java.lang.String |
removeFeature(java.lang.String name)
Removes feature with the specified name. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public License()
Method Detail |
public java.lang.String getFeature(java.lang.String name)
name
- name of the feature
public void addFeature(java.lang.String name, java.lang.String value)
name
- name of the featurevalue
- value of the featurepublic java.lang.String removeFeature(java.lang.String name)
name
- name of the feature
public java.util.List getFeatureList()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |