|
Sweet Home 3D 3.4 | |||||||||
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 java.io.File |
createTemporaryFile(java.lang.String prefix,
java.lang.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 java.io.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 java.io.File createTemporaryFile(java.lang.String prefix, java.lang.String suffix) throws java.io.IOException
java.io.IOException
- if the file couldn't be createdpublic static void deleteTemporaryFiles()
createTemporaryFile
.
public static java.io.File getDefaultApplicationFolder() throws java.io.IOException
java.io.IOException
|
Sweet Home 3D 3.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
![]() |
? Copyrights 2006-2011 eTeks - All rights reserved
Distributed under GNU General Public License |