Package org.docx4j

Class Docx4jProperties

java.lang.Object
org.docx4j.Docx4jProperties

public class Docx4jProperties extends Object
  • Field Details

    • log

      protected static org.slf4j.Logger log
  • Constructor Details

    • Docx4jProperties

      public Docx4jProperties()
  • Method Details

    • getProperty

      public static String getProperty(String key)
    • getProperty

      public static String getProperty(String key, String defaultValue)
      Since:
      2.7.2
    • getProperty

      public static boolean getProperty(String key, boolean defaultValue)
      Since:
      3.3.0
    • getProperty

      public static int getProperty(String key, int defaultValue)
    • getPropertyLong

      public static long getPropertyLong(String key, long defaultValue)
      Since:
      6.0.0
    • getProperties

      public static Properties getProperties()
    • setProperty

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

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

      public static void setPropertyLong(String key, long value)
      Since:
      6.0.0