public class LinuxPlatform extends DefaultPlatform
DefaultPlatform.CLibrary| Constructor and Description |
|---|
LinuxPlatform() |
| Modifier and Type | Method and Description |
|---|---|
File |
getDefaultSketchbookFolder() |
String |
getHomeDir() |
static String |
getHomeDir(String user) |
File |
getSettingsFolder()
This function should throw an exception or return a value.
|
void |
initBase(Base base) |
void |
openFolder(File file) |
boolean |
openFolderAvailable() |
void |
openURL(String url) |
getenv, getSystemDPI, saveLanguage, setenv, setLookAndFeel, unsetenvpublic void initBase(Base base)
initBase in class DefaultPlatformpublic String getHomeDir()
public static String getHomeDir(String user)
throws Exception
Exceptionpublic File getSettingsFolder()
throws Exception
DefaultPlatformgetSettingsFolder in class DefaultPlatformExceptionpublic File getDefaultSketchbookFolder()
throws Exception
getDefaultSketchbookFolder in class DefaultPlatformException - so that subclasses can throw a fitpublic void openURL(String url)
throws Exception
openURL in class DefaultPlatformExceptionpublic boolean openFolderAvailable()
openFolderAvailable in class DefaultPlatformpublic void openFolder(File file)
throws Exception
openFolder in class DefaultPlatformException