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