public abstract class PropertiesParser extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static String |
OP_PREFIX |
protected String |
OPERATION_MATCH |
protected String |
OPERATION_ORDER_MATCH |
protected static String |
PARAMETER_LEFT |
protected static String |
PARAMETER_RIGHT |
protected static String |
VALUES_SEPARATOR |
| Constructor and Description |
|---|
PropertiesParser() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
executeOperation(Properties propertiesFile,
String operation,
String parameters,
String operationValues) |
protected String[] |
extractOperationElements(String operation) |
protected ArrayList |
getValuesList(String values,
String valuesSeparator) |
protected String |
getValuesString(ArrayList valuesList,
String valuesSeparator) |
protected Properties |
loadPropertiesFile(File file) |
protected Properties |
parse(Properties propertiesFile,
Properties extendFile) |
int |
parseExtendPropertiesOrder(Properties extendFile) |
Properties |
parseProperties(Properties propertiesFile,
Properties extendFile) |
protected static final String VALUES_SEPARATOR
protected static final String OP_PREFIX
protected static final String PARAMETER_LEFT
protected static final String PARAMETER_RIGHT
protected final String OPERATION_MATCH
protected final String OPERATION_ORDER_MATCH
protected abstract void executeOperation(Properties propertiesFile, String operation, String parameters, String operationValues) throws Exception
Exceptionpublic Properties parseProperties(Properties propertiesFile, Properties extendFile)
public int parseExtendPropertiesOrder(Properties extendFile)
protected Properties parse(Properties propertiesFile, Properties extendFile)
protected Properties loadPropertiesFile(File file)
Copyright © 2016 Imatia Innovation S.L.. All rights reserved.