Package jodd.util

Class SystemInfo.HostInfoLazy

  • Enclosing class:
    SystemInfo

    private static class SystemInfo.HostInfoLazy
    extends java.lang.Object
    Delegate host info to be resolved lazy. Android detection will initialize this class too and since InetAddress.getLocalHost() is forbidden in Android, we will get an exception.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.lang.String HOST_ADDRESS  
      private java.lang.String HOST_NAME  
    • Constructor Summary

      Constructors 
      Constructor Description
      HostInfoLazy()  
    • Method Summary

      • Methods inherited from class java.lang.Object

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

      • HOST_NAME

        private final java.lang.String HOST_NAME
      • HOST_ADDRESS

        private final java.lang.String HOST_ADDRESS
    • Constructor Detail

      • HostInfoLazy

        public HostInfoLazy()