public abstract class PropertiesLoader extends Object
Modifier | Constructor and Description |
---|---|
protected |
PropertiesLoader() |
Modifier and Type | Method and Description |
---|---|
protected abstract String |
getConfigFilePath() |
boolean |
getPropertyAsBoolean(String propertyName,
boolean defaultValue) |
Class<?> |
getPropertyAsClass(String propertyName,
Class<?> defaultClass,
Class<?> superClassConstraint) |
double |
getPropertyAsDouble(String propertyName,
double defaultValue) |
double[] |
getPropertyAsDoubleArray(String propertyName,
double[] defaultArray) |
int |
getPropertyAsInteger(String propertyName,
int defaultValue) |
int[] |
getPropertyAsIntegerArray(String propertyName,
int[] defaultArray) |
long |
getPropertyAsLong(String propertyName,
long defaultValue) |
String |
getPropertyAsString(String propertyName,
String defaultValue) |
String[] |
getPropertyAsStringArray(String propertyName,
String[] defaultArray) |
public boolean getPropertyAsBoolean(String propertyName, boolean defaultValue)
public int getPropertyAsInteger(String propertyName, int defaultValue)
public long getPropertyAsLong(String propertyName, long defaultValue)
public double getPropertyAsDouble(String propertyName, double defaultValue)
public String[] getPropertyAsStringArray(String propertyName, String[] defaultArray)
public int[] getPropertyAsIntegerArray(String propertyName, int[] defaultArray)
public double[] getPropertyAsDoubleArray(String propertyName, double[] defaultArray)
public Class<?> getPropertyAsClass(String propertyName, Class<?> defaultClass, Class<?> superClassConstraint)
protected abstract String getConfigFilePath()
Copyright © 2022 VanillaDB Organization. All rights reserved.