Package jodd.util

Class SystemInfo.HostInfoLazy

java.lang.Object
jodd.util.SystemInfo.HostInfoLazy
Enclosing class:
SystemInfo

private static class SystemInfo.HostInfoLazy extends 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 Details

    • HOST_NAME

      private final String HOST_NAME
    • HOST_ADDRESS

      private final String HOST_ADDRESS
  • Constructor Details

    • HostInfoLazy

      public HostInfoLazy()