Class WebHome


  • public final class WebHome
    extends java.lang.Object
    All basic WebServer Related stuff, pure static stuff. !careful: PfadeIniDateien has an independend Structure for WebHome for Ini Dateien careful: keep structure changes in synch!!! in doubt use PfadeIniDateien instead
    Version:
    1.0.0
    Author:
    schuette
    • Constructor Summary

      Constructors 
      Constructor Description
      WebHome()  
    • Constructor Detail

      • WebHome

        public WebHome()
    • Method Detail

      • getHttp_Base_Address

        public static final java.lang.String getHttp_Base_Address()
        Returns:
        Returns the Http_Base_Address.
      • getServerName

        public static final java.lang.String getServerName()
        Returns:
        Returns the ServerName.
      • isReachable

        public static boolean isReachable()
      • isReachable

        public static boolean isReachable​(java.lang.String serverName)
      • calcServerName

        public static java.lang.String calcServerName​(java.lang.String webAddress)
                                               throws java.net.MalformedURLException
        Parameters:
        webAddress -
        Returns:
        the ServerName of the webAddress or exception
        Throws:
        java.net.MalformedURLException
      • calcFullFileNameInsideWebServer

        public static java.lang.String calcFullFileNameInsideWebServer​(java.lang.String webAddress)
        Gives the Windows File Name of the corresponding WebFile