Package org.docx4j

Class Docx4jProperties

java.lang.Object
org.docx4j.Docx4jProperties

public class Docx4jProperties
extends java.lang.Object
  • Field Summary

    Fields 
    Modifier and Type Field Description
    protected static org.slf4j.Logger log  
  • Constructor Summary

    Constructors 
    Constructor Description
    Docx4jProperties()  
  • Method Summary

    Modifier and Type Method 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)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • log

      protected static org.slf4j.Logger log
  • Constructor Details

  • Method Details

    • getProperty

      public static java.lang.String getProperty​(java.lang.String key)
    • getProperty

      public static java.lang.String getProperty​(java.lang.String key, java.lang.String defaultValue)
      Since:
      2.7.2
    • getProperty

      public static boolean getProperty​(java.lang.String key, boolean defaultValue)
      Since:
      3.3.0
    • getProperty

      public static int getProperty​(java.lang.String key, int defaultValue)
    • getPropertyLong

      public static long getPropertyLong​(java.lang.String key, long defaultValue)
      Since:
      6.0.0
    • getProperties

      public static java.util.Properties getProperties()
    • setProperty

      public static void setProperty​(java.lang.String key, java.lang.Boolean value)
      Useful if a unit test requires a certain property value.
      Since:
      3.0.0
    • setProperty

      public static void setProperty​(java.lang.String key, java.lang.String value)
      Useful if a unit test requires a certain property value.
      Since:
      3.0.0
    • setPropertyLong

      public static void setPropertyLong​(java.lang.String key, long value)
      Since:
      6.0.0