Package io.mosip.mimoto.util
Class ServerUtil
- java.lang.Object
-
- io.mosip.mimoto.util.ServerUtil
-
public class ServerUtil extends Object
This class provides Server IP and Name.- Author:
- Kiran Raj M1048860
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetServerIp()This method return ServerIp.StringgetServerName()This method return Server Host Name.static ServerUtilgetServerUtilInstance()This method return singleton instance.
-
-
-
Method Detail
-
getServerUtilInstance
public static ServerUtil getServerUtilInstance()
This method return singleton instance.- Returns:
- The ServerUtil object
-
getServerIp
public String getServerIp()
This method return ServerIp.- Returns:
- The ServerIp
-
getServerName
public String getServerName()
This method return Server Host Name.- Returns:
- The ServerName
-
-