platform
Class LinuxOS

java.lang.Object
  extended by platform.AbstractOS
      extended by platform.LinuxOS
All Implemented Interfaces:
JAPHelp.IExternalEMailCaller, JAPHelp.IExternalURLCaller

public class LinuxOS
extends AbstractOS

This class is instantiated by AbstractOS if the current OS is Linux


Nested Class Summary
 
Nested classes/interfaces inherited from class platform.AbstractOS
AbstractOS.AbstractRetryCopyProcess, AbstractOS.AbstractURLOpener, AbstractOS.IURLErrorNotifier
 
Field Summary
static java.lang.String[] BROWSERLIST
           
private  boolean m_bGnome
           
private  boolean m_bKDE
           
 
Fields inherited from class platform.AbstractOS
URL_MAIL_TO
 
Constructor Summary
LinuxOS()
           
 
Method Summary
 boolean copyAsRoot(java.io.File a_sourceFile, java.io.File a_targetDirectory, AbstractOS.AbstractRetryCopyProcess a_checkRetry)
          Copies a file with root/administrator rights to the specified directory.
private  void executeShell(java.lang.String a_cmd)
           
 java.lang.String getConfigPath(java.lang.String a_applicationName)
          Implementations must return a valid path to the config file.
protected  boolean openLink(java.lang.String a_link)
           
 
Methods inherited from class platform.AbstractOS
createBrowserCommand, createURLLink, createURLLink, getActiveVMs, getAppdataDefaultDirectory, getAsString, getDefaultBrowserPath, getDefaultHelpPath, getDefaultTempPath, getenv, getInstance, getProperty, getTempPath, init, initEnv, isDefaultURLAvailable, isHelpAutoInstalled, openBrowser, openBrowser, openEMail, openURL, toAbsolutePath, toRelativePath
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_bKDE

private boolean m_bKDE

m_bGnome

private boolean m_bGnome

BROWSERLIST

public static final java.lang.String[] BROWSERLIST
Constructor Detail

LinuxOS

public LinuxOS()
        throws java.lang.Exception
Throws:
java.lang.Exception
Method Detail

openLink

protected boolean openLink(java.lang.String a_link)
Specified by:
openLink in class AbstractOS

getConfigPath

public java.lang.String getConfigPath(java.lang.String a_applicationName)
Description copied from class: AbstractOS
Implementations must return a valid path to the config file.

Specified by:
getConfigPath in class AbstractOS

copyAsRoot

public boolean copyAsRoot(java.io.File a_sourceFile,
                          java.io.File a_targetDirectory,
                          AbstractOS.AbstractRetryCopyProcess a_checkRetry)
Description copied from class: AbstractOS
Copies a file with root/administrator rights to the specified directory.

Overrides:
copyAsRoot in class AbstractOS
Returns:
true if copying the file was successful; false is an error occurred or if this operation is not supported on this platform

executeShell

private void executeShell(java.lang.String a_cmd)