public abstract class PropUtils
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static char |
LABEL_LEFT_DELIMITER |
static char |
LABEL_RIGHT_DELIMITER |
Constructor and Description |
---|
PropUtils() |
Modifier and Type | Method and Description |
---|---|
static java.util.Properties |
dereferenceProperties(java.util.Properties pro) |
static java.util.Properties |
getPropertiesWithPrefix(java.util.Properties pro,
java.lang.String prefix) |
static boolean |
isLabel(java.lang.String str) |
static java.util.Properties |
load(java.lang.String file) |
static java.util.Properties |
putPrefixToProperties(java.lang.String prefix,
java.util.Properties pro) |
static java.util.Properties |
setDefaultParameters(java.util.Properties properties,
java.lang.String algorithmName) |
static java.util.Properties |
setDefaultParameters2(java.util.Properties properties,
java.lang.String algorithmName) |
static java.util.Properties |
substituteLabels(java.util.Properties base,
java.util.Properties labels) |
public static final char LABEL_RIGHT_DELIMITER
public static final char LABEL_LEFT_DELIMITER
public static java.util.Properties getPropertiesWithPrefix(java.util.Properties pro, java.lang.String prefix)
public static java.util.Properties putPrefixToProperties(java.lang.String prefix, java.util.Properties pro)
public static java.util.Properties substituteLabels(java.util.Properties base, java.util.Properties labels)
public static java.util.Properties dereferenceProperties(java.util.Properties pro)
public static boolean isLabel(java.lang.String str)
public static java.util.Properties load(java.lang.String file) throws java.io.FileNotFoundException, java.io.IOException
file
- The file containing the propertiesProperties
objectjava.io.FileNotFoundException
java.io.IOException
public static java.util.Properties setDefaultParameters(java.util.Properties properties, java.lang.String algorithmName)
public static java.util.Properties setDefaultParameters2(java.util.Properties properties, java.lang.String algorithmName)