Package org.gcube.common.software.model
Class Variables
java.lang.Object
org.gcube.common.software.model.Variables
- Author:
- Luca Frosini (ISTI - CNR)
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddProperty(String key, Object value) findVariables(String value) Search the variables used in the String provided as argumentparse()replaceAllVariables(String value) replaceAllVariables(String key, String value) voidsetProperties(Map<String, Object> properties)
-
Field Details
-
REGEX
-
PATTERN
-
properties
-
-
Constructor Details
-
Variables
public Variables()
-
-
Method Details
-
findVariables
Search the variables used in the String provided as argument- Parameters:
value- the string to analyze to find variables- Returns:
- the list of used variables
-
replaceAllVariables
- Throws:
Exception
-
replaceAllVariables
- Throws:
Exception
-
parseAndReplace
- Throws:
Exception
-
parse
- Throws:
Exception
-
parseWith
- Throws:
Exception
-
getProperties
-
setProperties
-
addProperty
-