|
Sweet Home 3D 3.5 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.eteks.sweethome3d.tools.OperatingSystem
public class OperatingSystem
Tools used to test current user operating system.
| Method Summary | |
|---|---|
static File |
createTemporaryFile(String prefix,
String suffix)
Returns a temporary file that will be deleted when JVM will exit. |
static void |
deleteTemporaryFiles()
Deletes all the temporary files created with createTemporaryFile. |
static File |
getDefaultApplicationFolder()
Returns default application folder. |
static boolean |
isLinux()
Returns true if current operating is Linux. |
static boolean |
isMacOSX()
Returns true if current operating is Mac OS X. |
static boolean |
isMacOSXLeopardOrSuperior()
Returns true if current operating is Mac OS X 10.5
or superior. |
static boolean |
isWindows()
Returns true if current operating is Windows. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static boolean isLinux()
true if current operating is Linux.
public static boolean isWindows()
true if current operating is Windows.
public static boolean isMacOSX()
true if current operating is Mac OS X.
public static boolean isMacOSXLeopardOrSuperior()
true if current operating is Mac OS X 10.5
or superior.
public static File createTemporaryFile(String prefix,
String suffix)
throws IOException
IOException - if the file couldn't be createdpublic static void deleteTemporaryFiles()
createTemporaryFile.
public static File getDefaultApplicationFolder()
throws IOException
IOException
|
Sweet Home 3D 3.5 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
![]() |
© Copyrights 2006-2012 eTeks - All rights reserved
Distributed under GNU General Public License |