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, unsetenv
public void initBase(Base base)
initBase
in class DefaultPlatform
public String getHomeDir()
public static String getHomeDir(String user) throws Exception
Exception
public File getSettingsFolder() throws Exception
DefaultPlatform
getSettingsFolder
in class DefaultPlatform
Exception
public File getDefaultSketchbookFolder() throws Exception
getDefaultSketchbookFolder
in class DefaultPlatform
Exception
- so that subclasses can throw a fitpublic void openURL(String url) throws Exception
openURL
in class DefaultPlatform
Exception
public boolean openFolderAvailable()
openFolderAvailable
in class DefaultPlatform
public void openFolder(File file) throws Exception
openFolder
in class DefaultPlatform
Exception