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 forMissingGUIPropertyException
public 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 forMissingGUIPropertyException
public String getPropertyValue(String propertyName)
GUIProperties
for a property
corresponding to the given name.propertyName
- property name to be foundMissingGUIPropertyException
public List<String> getPropertyValueAsList(String propertyName)
GUIProperties
for a property list
corresponding to the given name.propertyName
- property name to be foundMissingGUIPropertyException
public 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]
MissingGUIPropertyException
public 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]
MissingGUIPropertyException
public 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]
MissingGUIPropertyException
public 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]
MissingGUIPropertyException
public 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]
MissingGUIPropertyException
public 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]
MissingGUIPropertyException
Copyright © 2018. All rights reserved.