Package org.docx4j
Class Docx4jProperties
java.lang.Object
org.docx4j.Docx4jProperties
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Propertiesstatic StringgetProperty(String key) static booleangetProperty(String key, boolean defaultValue) static intgetProperty(String key, int defaultValue) static StringgetProperty(String key, String defaultValue) static longgetPropertyLong(String key, long defaultValue) private static voidinit()static voidsetProperty(String key, Boolean value) Useful if a unit test requires a certain property value.static voidsetProperty(String key, String value) Useful if a unit test requires a certain property value.static voidsetPropertyLong(String key, long value)
-
Field Details
-
log
protected static org.slf4j.Logger log -
properties
-
-
Constructor Details
-
Docx4jProperties
public Docx4jProperties()
-
-
Method Details
-
init
private static void init() -
getProperty
-
getProperty
- Since:
- 2.7.2
-
getProperty
- Since:
- 3.3.0
-
getProperty
-
getPropertyLong
- Since:
- 6.0.0
-
getProperties
-
setProperty
Useful if a unit test requires a certain property value.- Since:
- 3.0.0
-
setProperty
Useful if a unit test requires a certain property value.- Since:
- 3.0.0
-
setPropertyLong
- Since:
- 6.0.0
-