public class Docx4jProperties extends Object
Modifier and Type | Field and Description |
---|---|
protected static org.slf4j.Logger |
log |
Constructor and Description |
---|
Docx4jProperties() |
Modifier and Type | Method and Description |
---|---|
static Properties |
getProperties() |
static String |
getProperty(String key) |
static boolean |
getProperty(String key,
boolean defaultValue) |
static int |
getProperty(String key,
int defaultValue) |
static String |
getProperty(String key,
String defaultValue) |
static long |
getPropertyLong(String key,
long defaultValue) |
static void |
setProperty(String key,
Boolean value)
Useful if a unit test requires a certain property value.
|
static void |
setProperty(String key,
String value)
Useful if a unit test requires a certain property value.
|
static void |
setPropertyLong(String key,
long value) |
public static boolean getProperty(String key, boolean defaultValue)
public static int getProperty(String key, int defaultValue)
public static long getPropertyLong(String key, long defaultValue)
public static Properties getProperties()
public static void setProperty(String key, Boolean value)
public static void setProperty(String key, String value)
public static void setPropertyLong(String key, long value)
Copyright © 2007-2019. All Rights Reserved.