|
SoftNet-Consult Java Utility Library | |||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Attributes | |
---|---|
com.softnetConsult.utils.attributes | This package contains classes and tools that allow using classes with static public variables in a way similar to Java's Properties files while improving performance. |
Uses of Attributes in com.softnetConsult.utils.attributes |
---|
Method parameters in com.softnetConsult.utils.attributes with type arguments of type Attributes | |
---|---|
static java.lang.String |
AttributeManager.asLine(java.lang.Class<? extends Attributes> attributesClass)
Converts an attribute collection to a human readable form. |
static java.util.Properties |
AttributeManager.asProperties(java.lang.Class<? extends Attributes> attributesClass)
Converts an attribute collection to a set of properties. |
static java.lang.String |
AttributeManager.asString(java.lang.String separator,
java.lang.Class<? extends Attributes> attributesClass)
Converts an attribute collection to a human readable form. |
static java.lang.String[] |
AttributeManager.asStrings(java.lang.Class<? extends Attributes> attributesClass)
Converts an attribute collection to a human readable form. |
static java.util.Map<java.lang.String,java.lang.String> |
AttributeManager.getNameValueMap(java.lang.Class<? extends Attributes> attributesClass)
Takes an attribute class object and returns a mapping from the names of variables defined for the specified class (not object of that class) and their current (static) values. |
static boolean |
AttributeManager.load(java.lang.Class<? extends Attributes> attributesClass,
java.lang.String fileName)
Sets the values of the public static variables of an attribute class to the values loaded from the specified properties file. |
static boolean |
AttributeManager.save(java.lang.Class<? extends Attributes> attributesClass,
java.lang.String fileName)
Saves the values of static public variables of an attribute collection class to a Java properties file. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |