Class PropertyUtil

java.lang.Object
com.diozero.util.PropertyUtil

public class PropertyUtil
extends java.lang.Object
  • Constructor Summary

    Constructors 
    Constructor Description
    PropertyUtil()  
  • Method Summary

    Modifier and Type Method Description
    static boolean getBooleanProperty​(java.lang.String key, boolean defaultValue)  
    static int getIntProperty​(java.lang.String key, int defaultValue)  
    static java.lang.String getProperty​(java.lang.String key, java.lang.String defaultValue)  
    static boolean isPropertySet​(java.lang.String key)  

    Methods inherited from class java.lang.Object

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

  • Method Details

    • isPropertySet

      public static boolean isPropertySet​(java.lang.String key)
    • getIntProperty

      public static int getIntProperty​(java.lang.String key, int defaultValue)
    • getBooleanProperty

      public static boolean getBooleanProperty​(java.lang.String key, boolean defaultValue)
    • getProperty

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