public final class LinuxOS extends AbstractOS
AbstractOS.AbstractRetryCopyProcess, AbstractOS.AbstractURLOpener, AbstractOS.IURLErrorNotifier
Modifier and Type | Field and Description |
---|---|
static java.lang.String[] |
BROWSERLIST |
private static java.lang.String |
LINUX_VBOX_NETADAPTER |
private boolean |
m_bGnome |
private boolean |
m_bKDE |
private int |
m_iKDEVersion |
URL_MAIL_TO
Constructor and Description |
---|
LinuxOS() |
Modifier and Type | Method and Description |
---|---|
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 |
getAppdataDefaultDirectory(java.lang.String a_applicationName,
boolean a_bCreate)
A default directory for the configuration files of the application.
|
java.lang.String |
getConfigPath(java.lang.String a_applicationName,
boolean a_bCreate)
Implementations must return a valid path to the config file.
|
boolean |
isVirtualBoxInterface(java.lang.Object a_networkInterface) |
protected boolean |
openLink(java.lang.String a_link) |
private boolean |
procDone(java.lang.Process a_process) |
createBrowserCommand, execute, executeRuntime, getActiveVMs, getAsString, getDefaultBrowserPath, getDefaultHelpPath, getDefaultTempPath, getenv, getInstance, getInterfaceName, getProperty, getProxyInterface, getTempPath, init, initEnv, isDefaultURLAvailable, isHelpAutoInstalled, isJavaWebstart, isMultipleStart, isMultipleStart, openBrowser, openBrowser, openEMail, openURL, sendOpenUrlSocketMessage, toAbsolutePath, toRelativePath
private boolean m_bKDE
private int m_iKDEVersion
private boolean m_bGnome
private static final java.lang.String LINUX_VBOX_NETADAPTER
public static final java.lang.String[] BROWSERLIST
protected boolean openLink(java.lang.String a_link)
openLink
in class AbstractOS
public java.lang.String getAppdataDefaultDirectory(java.lang.String a_applicationName, boolean a_bCreate)
AbstractOS
getAppdataDefaultDirectory
in class AbstractOS
public java.lang.String getConfigPath(java.lang.String a_applicationName, boolean a_bCreate)
AbstractOS
getConfigPath
in class AbstractOS
public boolean isVirtualBoxInterface(java.lang.Object a_networkInterface)
isVirtualBoxInterface
in class AbstractOS
public boolean copyAsRoot(java.io.File a_sourceFile, java.io.File a_targetDirectory, AbstractOS.AbstractRetryCopyProcess a_checkRetry)
AbstractOS
copyAsRoot
in class AbstractOS
private void executeShell(java.lang.String a_cmd)
private boolean procDone(java.lang.Process a_process)
Copyright © 2023. All rights reserved.