public class GUIHierarchyConcatenationProperties extends Object
GUIProperties.| Constructor and Description |
|---|
GUIHierarchyConcatenationProperties(String... files)
Constructs a
GUIHierarchyConcatenationProperties from the given
files. |
| Modifier and Type | Method and Description |
|---|---|
String |
getPropertyValue(String propertyName)
Searches over the group of
GUIProperties for a property
corresponding to the given name. |
String |
getPropertyValue(String[] propertyNames)
Searches over the group of
GUIProperties for a property
corresponding to a hierarchical concatenation of the given names. |
String |
getPropertyValue(String[] propertyNames,
String... parameters)
Searches over the group of
GUIProperties for a property
corresponding to a hierarchical concatenation of the given names. |
String |
getPropertyValue(String key,
Object[] parameters)
Searches over the group of
GUIProperties for a property
corresponding to the given key. |
String |
getPropertyValue(String key,
String... parameters)
Searches over the group of
GUIProperties for a property
corresponding to the given key. |
List<String> |
getPropertyValueAsList(String propertyName)
Searches over the group of
GUIProperties for a property list
corresponding to the given name. |
List<String> |
getPropertyValueAsList(String[] propertyNames)
Searches over the group of
GUIProperties for a property list
corresponding to a hierarchical concatenation of the given names. |
List<String> |
getPropertyValueAsList(String[] propertyNames,
String... parameters)
Searches over the group of
GUIProperties for a property list
corresponding to a hierarchical concatenation of the given names. |
List<String> |
getPropertyValueAsList(String key,
Object[] parameters)
Searches over the group of
GUIProperties for a property list
corresponding to the given key. |
List<String> |
getPropertyValueAsList(String key,
String... parameters)
Searches over the group of
GUIProperties for a property list
corresponding to the given key. |
public GUIHierarchyConcatenationProperties(String... files)
GUIHierarchyConcatenationProperties from the given
files.
The order in which the List of GUIProperties are searched
when retrieving is preserved from the order in which the files are
listed.
files - the files to be loadedpublic String getPropertyValue(String[] propertyNames)
GUIProperties for a property
corresponding to a hierarchical concatenation of the given names.
Concatenation of property names is done from high index to low. That is
to say, for the array ["a", "b", "c"], the names searched will be
"cba", "cb", "c" in that order.
propertyNames - names to be concatenated and searched forMissingGUIPropertyExceptionpublic List<String> getPropertyValueAsList(String[] propertyNames)
GUIProperties for a property list
corresponding to a hierarchical concatenation of the given names.
Concatenation of property names is done from high index to low. That is
to say, for the array ["a", "b", "c"], the names searched will be
"cba", "cb", "c" in that order.
propertyNames - names to be concatenated and searched forMissingGUIPropertyExceptionpublic String getPropertyValue(String propertyName)
GUIProperties for a property
corresponding to the given name.propertyName - property name to be foundMissingGUIPropertyExceptionpublic List<String> getPropertyValueAsList(String propertyName)
GUIProperties for a property list
corresponding to the given name.propertyName - property name to be foundMissingGUIPropertyExceptionpublic String getPropertyValue(String[] propertyNames, String... parameters)
GUIProperties for a property
corresponding to a hierarchical concatenation of the given names.
Concatenation of property names is done from high index to low. That is
to say, for the array ["a", "b", "c"], the names searched will be
"cba", "cb", "c" in that order.
propertyNames - names to be concatenated and searched forparameters - instances of the String literal "{n}" in
the retrieved value will be replaced by params[n]MissingGUIPropertyExceptionpublic List<String> getPropertyValueAsList(String[] propertyNames, String... parameters)
GUIProperties for a property list
corresponding to a hierarchical concatenation of the given names.
Concatenation of property names is done from high index to low. That is
to say, for the array ["a", "b", "c"], the names searched will be
"cba", "cb", "c" in that order.
propertyNames - names to be concatenated and searched forparameters - instances of the String literal "{n}" in
the retrieved value will be replaced by params[n]MissingGUIPropertyExceptionpublic String getPropertyValue(String key, String... parameters)
GUIProperties for a property
corresponding to the given key.key - key to be foundparameters - instances of the String literal "{n}" in
the retrieved value will be replaced by params[n]MissingGUIPropertyExceptionpublic List<String> getPropertyValueAsList(String key, String... parameters)
GUIProperties for a property list
corresponding to the given key.key - key to be foundparameters - instances of the String literal "{n}" in
the retrieved value will be replaced by params[n]MissingGUIPropertyExceptionpublic String getPropertyValue(String key, Object[] parameters)
GUIProperties for a property
corresponding to the given key.key - key to be foundparameters - instances of the String literal "{n}" in
the retrieved value will be replaced by the String
representation of params[n]MissingGUIPropertyExceptionpublic List<String> getPropertyValueAsList(String key, Object[] parameters)
GUIProperties for a property list
corresponding to the given key.key - key to be foundparameters - instances of the String literal "{n}" in
the retrieved value will be replaced by the String
representation of params[n]MissingGUIPropertyExceptionCopyright © 2018. All rights reserved.