SRJRCFrames
v0.1.296

de.schwarzrot.system
Class SysInfo

java.lang.Object
  extended by de.schwarzrot.system.SysInfo

public class SysInfo
extends Object


Field Summary
static String COMSPEC
           
static String FILEENC
           
static String HOMEDIR
           
static String JAVAHOME
           
static String JAVAVER
           
static String KEY_PATH
           
static String OS_ARCH
           
static String PATHDIV
           
static String PATHSEP
           
static String STARTUP
           
static String SYSTEM
           
static String SYSTEM_ROOT
           
static String TMPDIR
           
static String USERNAME
           
 
Constructor Summary
SysInfo()
           
 
Method Summary
protected  int determineProcessorCount()
           
 void dump()
           
 String findApp(String appName)
           
 AbstractSysConfig getConfig()
           
 File getDbClient()
           
 Charset getDefaultEncoding()
           
 Map<String,DriveMapping> getDriveMappings()
           
 File getFontBaseDir()
           
 File getHomeDirectory()
           
 File getJava()
           
 String getJavaHome()
           
 String getJVMVersion()
           
 InetAddress getNetworkAddress()
           
 String getOperatingSystem()
           
 String getPathSeparator()
           
 File getPerl()
           
 File getPing()
           
 Integer getProcessorCount()
           
 File getShell()
           
 File getStartupDirectory()
           
 File getTempDirectory()
           
 String getUserName()
           
 boolean isLinux()
           
 boolean isSuse()
           
 boolean isWin7()
           
 boolean isWindows()
           
 boolean isWinXP()
           
protected  void scanOS()
           
static String searchPath4App(String appName)
           
 void setConfig(AbstractSysConfig config)
           
 void syncFS()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

STARTUP

public static final String STARTUP
See Also:
Constant Field Values

HOMEDIR

public static final String HOMEDIR
See Also:
Constant Field Values

USERNAME

public static final String USERNAME
See Also:
Constant Field Values

SYSTEM

public static final String SYSTEM
See Also:
Constant Field Values

KEY_PATH

public static final String KEY_PATH
See Also:
Constant Field Values

FILEENC

public static final String FILEENC
See Also:
Constant Field Values

PATHSEP

public static final String PATHSEP
See Also:
Constant Field Values

PATHDIV

public static final String PATHDIV
See Also:
Constant Field Values

JAVAVER

public static final String JAVAVER
See Also:
Constant Field Values

JAVAHOME

public static final String JAVAHOME
See Also:
Constant Field Values

TMPDIR

public static final String TMPDIR
See Also:
Constant Field Values

COMSPEC

public static final String COMSPEC
See Also:
Constant Field Values

SYSTEM_ROOT

public static final String SYSTEM_ROOT
See Also:
Constant Field Values

OS_ARCH

public static final String OS_ARCH
See Also:
Constant Field Values
Constructor Detail

SysInfo

public SysInfo()
Method Detail

dump

public void dump()

findApp

public String findApp(String appName)

getConfig

public final AbstractSysConfig getConfig()

getDbClient

public final File getDbClient()

getDefaultEncoding

public final Charset getDefaultEncoding()

getDriveMappings

public final Map<String,DriveMapping> getDriveMappings()

getFontBaseDir

public final File getFontBaseDir()

getHomeDirectory

public final File getHomeDirectory()

getJava

public final File getJava()

getJavaHome

public String getJavaHome()

getJVMVersion

public final String getJVMVersion()

getNetworkAddress

public InetAddress getNetworkAddress()

getOperatingSystem

public final String getOperatingSystem()

getPathSeparator

public final String getPathSeparator()

getPerl

public final File getPerl()

getPing

public final File getPing()

getProcessorCount

public final Integer getProcessorCount()

getShell

public final File getShell()

getStartupDirectory

public final File getStartupDirectory()

getTempDirectory

public final File getTempDirectory()

getUserName

public final String getUserName()

isLinux

public final boolean isLinux()

isSuse

public final boolean isSuse()

isWin7

public final boolean isWin7()

isWindows

public final boolean isWindows()

isWinXP

public final boolean isWinXP()

setConfig

public final void setConfig(AbstractSysConfig config)

syncFS

public void syncFS()

determineProcessorCount

protected int determineProcessorCount()

scanOS

protected void scanOS()

searchPath4App

public static String searchPath4App(String appName)

SRJRCFrames
v0.1.296

hosted at
Find SRJRCFrames at SourceForge.net. Fast, secure and free:
           Open Source Software download
Submit a bug or request a feature

SRJRCFrames is published according to the GNU General Public License
Copyright 2005-2012 Reinhard Mantey - some rights reserved.