Stellent
HowToComponents
JavaDoc

intradoc.common
Class EnvUtils

java.lang.Object
  |
  +--intradoc.common.EnvUtils

public class EnvUtils
extends java.lang.Object


Field Summary
static java.lang.String FAM_UNIX
           
static java.lang.String FAM_WINDOWS
           
protected static java.lang.String m_exeSuffix
           
protected static boolean m_isApplet
           
protected static boolean m_isLinux11
           
protected static boolean m_isMicrosoftVM
           
protected static boolean m_isMsApplet
           
protected static boolean m_isOsFlagsInitialized
           
protected static boolean m_isRunAsService
           
protected static java.lang.String m_javaVersion
           
protected static java.lang.String m_osFamily
           
protected static java.lang.String m_osLibPathEnvName
           
protected static java.lang.String m_osName
           
protected static java.lang.String m_pathSep
           
static java.lang.String OS_AIX
           
static java.lang.String OS_FREEBSD
           
static java.lang.String OS_HPUX
           
static java.lang.String OS_HPUXIA64
           
static java.lang.String OS_LINUX
           
static java.lang.String OS_LINUXS390
           
static java.lang.String OS_SOLARIS
           
static java.lang.String OS_SOLARISX86
           
static java.lang.String OS_WIN32
           
static java.lang.String[][] OSFAMILIES
           
static java.lang.String[][] OSNAMES
           
 
Constructor Summary
EnvUtils()
           
 
Method Summary
static java.lang.String convertPathToOSConventions(java.lang.String path)
           
static java.lang.String determinePlatform()
          Deprecated. 2004-03-01 Use getOSName() instead.
static java.lang.String getExecutableFileSuffix()
           
static java.lang.String getJavaVersion()
           
static java.lang.String getLibraryPathEnvironmentVariableName()
           
static java.lang.String getOSFamily()
           
static java.lang.String getOSName()
           
static java.lang.String getPathSeparator()
           
static void initializeOsFlags()
           
static boolean isAIX()
          Deprecated. 2004-03-01 Use getOSName() instead.
static boolean isFamily(java.lang.String family)
           
static boolean isFreeBSD()
          Deprecated. 2004-03-01 Use getOSName() instead.
static boolean isHPUX()
          Deprecated. 2004-03-01 Use getOSName() instead.
static boolean isLinux()
          Deprecated. 2004-03-01 Use getOSName() instead.
static boolean isLinux11()
           
static boolean isMicrosoftVM()
           
static boolean isMsApplet()
           
static boolean isOS(java.lang.String os)
           
static boolean isRunAsService()
           
static boolean isSolaris()
          Deprecated. 2004-03-01 Use getOSName() instead.
static boolean isUnix()
          Deprecated. 2004-03-01 Use getOSFamily() instead.
static boolean isWindows()
          Deprecated. 2004-03-01 Use getOSName() instead.
static void setRunAsService(boolean isRunAsService)
           
static boolean supportsGuiFocus()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_isOsFlagsInitialized

protected static boolean m_isOsFlagsInitialized

m_isApplet

protected static boolean m_isApplet

m_javaVersion

protected static java.lang.String m_javaVersion

m_osName

protected static java.lang.String m_osName

m_osFamily

protected static java.lang.String m_osFamily

m_isRunAsService

protected static boolean m_isRunAsService

m_isMsApplet

protected static boolean m_isMsApplet

m_isMicrosoftVM

protected static boolean m_isMicrosoftVM

m_isLinux11

protected static boolean m_isLinux11

OS_AIX

public static final java.lang.String OS_AIX
See Also:
Constant Field Values

OS_FREEBSD

public static final java.lang.String OS_FREEBSD
See Also:
Constant Field Values

OS_HPUX

public static final java.lang.String OS_HPUX
See Also:
Constant Field Values

OS_HPUXIA64

public static final java.lang.String OS_HPUXIA64
See Also:
Constant Field Values

OS_LINUX

public static final java.lang.String OS_LINUX
See Also:
Constant Field Values

OS_LINUXS390

public static final java.lang.String OS_LINUXS390
See Also:
Constant Field Values

OS_SOLARIS

public static final java.lang.String OS_SOLARIS
See Also:
Constant Field Values

OS_SOLARISX86

public static final java.lang.String OS_SOLARISX86
See Also:
Constant Field Values

OS_WIN32

public static final java.lang.String OS_WIN32
See Also:
Constant Field Values

OSNAMES

public static final java.lang.String[][] OSNAMES

m_osLibPathEnvName

protected static java.lang.String m_osLibPathEnvName

FAM_UNIX

public static final java.lang.String FAM_UNIX
See Also:
Constant Field Values

FAM_WINDOWS

public static final java.lang.String FAM_WINDOWS
See Also:
Constant Field Values

OSFAMILIES

public static final java.lang.String[][] OSFAMILIES

m_pathSep

protected static java.lang.String m_pathSep

m_exeSuffix

protected static java.lang.String m_exeSuffix
Constructor Detail

EnvUtils

public EnvUtils()
Method Detail

initializeOsFlags

public static void initializeOsFlags()

determinePlatform

public static java.lang.String determinePlatform()
Deprecated. 2004-03-01 Use getOSName() instead.


isMsApplet

public static boolean isMsApplet()

isWindows

public static boolean isWindows()
Deprecated. 2004-03-01 Use getOSName() instead.


isMicrosoftVM

public static boolean isMicrosoftVM()

isUnix

public static boolean isUnix()
Deprecated. 2004-03-01 Use getOSFamily() instead.


isLinux11

public static boolean isLinux11()

isLinux

public static boolean isLinux()
Deprecated. 2004-03-01 Use getOSName() instead.


isFreeBSD

public static boolean isFreeBSD()
Deprecated. 2004-03-01 Use getOSName() instead.


isSolaris

public static boolean isSolaris()
Deprecated. 2004-03-01 Use getOSName() instead.


isAIX

public static boolean isAIX()
Deprecated. 2004-03-01 Use getOSName() instead.


isHPUX

public static boolean isHPUX()
Deprecated. 2004-03-01 Use getOSName() instead.


getJavaVersion

public static java.lang.String getJavaVersion()

supportsGuiFocus

public static boolean supportsGuiFocus()

getOSName

public static java.lang.String getOSName()

getOSFamily

public static java.lang.String getOSFamily()

isFamily

public static boolean isFamily(java.lang.String family)

isOS

public static boolean isOS(java.lang.String os)

getLibraryPathEnvironmentVariableName

public static java.lang.String getLibraryPathEnvironmentVariableName()

getPathSeparator

public static java.lang.String getPathSeparator()

getExecutableFileSuffix

public static java.lang.String getExecutableFileSuffix()

convertPathToOSConventions

public static java.lang.String convertPathToOSConventions(java.lang.String path)

setRunAsService

public static void setRunAsService(boolean isRunAsService)

isRunAsService

public static boolean isRunAsService()


(c) 1996-2005  All rights reserved.  Stellent, Inc.