public interface EnvironmentInformation
Modifier and Type | Method and Description |
---|---|
java.util.ResourceBundle |
getBundle(java.lang.String bundleName)
Returns the default resource bundle.
|
java.util.ResourceBundle |
getBundle(java.lang.String bundleName,
java.lang.String context)
Returns the resource bundle object for the specified locale.
|
java.util.ResourceBundle |
getBundle(java.lang.String bundleName,
java.lang.String[] contextArr)
Returns a resource bundle for one of the specified locales.
|
java.lang.String |
getCollectorsLanguage() |
java.lang.String |
getDefaultLanguage() |
java.lang.String |
getProbeGatewayID()
Returns the name of the current probe.
|
java.lang.String |
getProbeGatewayIP()
Returns the IP of the host running the probe gateway.
|
java.lang.String |
getProbeManagerDomain()
Returns the ProbeManager's domain.
|
java.lang.String |
getProbeManagerIP()
Returns the IP of the host running the probe manager.
|
Version |
getProbeVersion()
Returns a
Version object representing the version and build numbers of the installed Probe |
boolean |
isIpInScope(java.lang.String ipToLookFor)
Checks if the IP address is handled by the current probe.
|
java.util.ResourceBundle getBundle(java.lang.String bundleName)
properties
extension. For example, MyBundle.propertiesbundleName
- Bundle namejava.util.ResourceBundle getBundle(java.lang.String bundleName, java.lang.String context)
MyBundle_fr
,
the property file is MyBundle_fr.properties
bundleName
- The base namecontext
- The localejava.util.ResourceBundle getBundle(java.lang.String bundleName, java.lang.String[] contextArr)
getBundle
returns
MyBundle_AUS. Thereafter, searching for a key, if it does not exist in MyBundle_AUS,
it is returned from the default MyBundle. MyBundle_GBR and MyBundle_USA are not searched.bundleName
- The base namecontextArr
- An array of localesjava.lang.String getProbeManagerIP()
java.lang.String getProbeGatewayIP()
java.lang.String getProbeGatewayID()
java.lang.String getProbeManagerDomain()
java.lang.String getDefaultLanguage()
java.lang.String getCollectorsLanguage()
boolean isIpInScope(java.lang.String ipToLookFor)
ipToLookFor
- IP String to examineVersion getProbeVersion()
Version
object representing the version and build numbers of the installed ProbeDocumentation Feedback
Copyright 2012 Micro Focus or one of its affiliates.