Class Utils


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

      Constructors 
      Constructor Description
      Utils()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String getIP()
      Get the default local IP address.
      static int getMin​(java.util.List<java.lang.Integer> list)  
      static boolean isNullOrWhitespace​(java.lang.String value)  
      static java.lang.String timestamp()
      Get the current time.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Utils

        public Utils()
    • Method Detail

      • getIP

        public static java.lang.String getIP()
        Get the default local IP address.
        Returns:
        The IP address, or null if not found.
      • timestamp

        public static java.lang.String timestamp()
        Get the current time.
        Returns:
        The current time in the form YYYY-mm-ddTHH:MM:SS+00.00
      • isNullOrWhitespace

        public static boolean isNullOrWhitespace​(java.lang.String value)
      • getMin

        public static int getMin​(java.util.List<java.lang.Integer> list)