Class WebHome
- java.lang.Object
-
- de.desy.mst.libs.framework.mstapp.ini.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()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.String
calcFullFileNameInsideWebServer(java.lang.String webAddress)
Gives the Windows File Name of the corresponding WebFilestatic java.lang.String
calcServerName(java.lang.String webAddress)
static java.lang.String
getHttp_Base_Address()
static java.lang.String
getServerName()
static boolean
isReachable()
static boolean
isReachable(java.lang.String serverName)
-
-
-
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
-
-