public final class

IPAUtils

extends Object
java.lang.Object
   ↳ com.microstrategy.web.ipa.utils.IPAUtils

Summary

Public Constructors
IPAUtils()
Public Methods
static String getAppURL(IPAServer iServer)
static String getCurrentTimeAsGMT()
get current time GMT string as yyyy-MM-dd HH:mm:ss
static Date getDate(String iDate)
from date string to date object
static String getDateAsString(Date iDate)
transfer date as string to yyyy-MM-dd HH:mm:ss format
static Date getGMTDate(String iDate)
get time stamp with ISO format and GMT time zone
static Date getGMTDate(Date iDate)
Transfer date to yyyy-MM-dd HH:mm:ss format in GMT time zone@return
static String getGMTDateAsString(String iDate)
return date string to gmt string
static String getGMTDateAsString(Date iDate)
from date object to gmt string
static String getHostAddress(String iHostName)
@return
static String getHostName(String iName)
reference to CDSSXMLAdmin class
static Logger getLogger()
static String getXML(AbstractConfigurationElementList iList)
transfer a list of AbstractConfigurationElementList into XML string
static void validateServerExisitsInEnv(String iHostName, String iPort)
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public IPAUtils ()

Public Methods

public static String getAppURL (IPAServer iServer)

public static String getCurrentTimeAsGMT ()

get current time GMT string as yyyy-MM-dd HH:mm:ss

public static Date getDate (String iDate)

from date string to date object

public static String getDateAsString (Date iDate)

transfer date as string to yyyy-MM-dd HH:mm:ss format

public static Date getGMTDate (String iDate)

get time stamp with ISO format and GMT time zone

Parameters
iDate date as String

public static Date getGMTDate (Date iDate)

Transfer date to yyyy-MM-dd HH:mm:ss format in GMT time zone@return

Throws
ParseException

public static String getGMTDateAsString (String iDate)

return date string to gmt string

public static String getGMTDateAsString (Date iDate)

from date object to gmt string

public static String getHostAddress (String iHostName)

@return

Throws
UnknownHostException

public static String getHostName (String iName)

reference to CDSSXMLAdmin class

public static Logger getLogger ()

public static String getXML (AbstractConfigurationElementList iList)

transfer a list of AbstractConfigurationElementList into XML string

public static void validateServerExisitsInEnv (String iHostName, String iPort)