Package me.hsgamer.hscore.license.common
Class LicenseProperties
java.lang.Object
java.util.Dictionary<K,V>
java.util.Hashtable<Object,Object>
java.util.Properties
me.hsgamer.hscore.license.common.LicenseProperties
- All Implemented Interfaces:
Serializable
,Cloneable
,Map<Object,
Object>
The license properties
- See Also:
-
Field Summary
Fields inherited from class java.util.Properties
defaults
-
Constructor Summary
ConstructorDescriptionCreate a new instanceLicenseProperties
(Properties defaults) Create a new instance -
Method Summary
Modifier and TypeMethodDescriptionGet the propertyvoid
setProperty
(CommonLicenseProperty key, String value) Set the propertyMethods inherited from class java.util.Properties
clear, clone, compute, computeIfAbsent, computeIfPresent, contains, containsKey, containsValue, elements, entrySet, equals, forEach, get, getOrDefault, getProperty, getProperty, hashCode, isEmpty, keys, keySet, list, list, load, load, loadFromXML, merge, propertyNames, put, putAll, putIfAbsent, rehash, remove, remove, replace, replace, replaceAll, save, setProperty, size, store, store, storeToXML, storeToXML, storeToXML, stringPropertyNames, toString, values
-
Constructor Details
-
LicenseProperties
public LicenseProperties()Create a new instance -
LicenseProperties
Create a new instance- Parameters:
defaults
- the default properties
-
-
Method Details
-
getProperty
Get the property- Parameters:
key
- the key- Returns:
- the property
-
setProperty
Set the property- Parameters:
key
- the keyvalue
- the value
-