|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.montsuqi.util.SystemEnvironment
public class SystemEnvironment
A class that represents the system(platform) environment.
| Method Summary | |
|---|---|
static java.io.File |
createFilePath(java.lang.String[] elements)
Creates a file instance with the given path elements in platform independent way. |
static boolean |
isMacOSX()
Tests if the system is MacOS X. |
static boolean |
isMS932()
Tests if the system uses MS932 characters. |
static boolean |
isWindows()
Tests if the system is Windows. |
static void |
setMacMenuTitle(java.lang.String title)
On MacOS X, sets the menu title. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static boolean isMacOSX()
Tests if the system is MacOS X.
public static boolean isWindows()
Tests if the system is Windows.
public static boolean isMS932()
Tests if the system uses MS932 characters.
public static void setMacMenuTitle(java.lang.String title)
On MacOS X, sets the menu title.
On other platforms, does nothing.
title - Title to set.public static java.io.File createFilePath(java.lang.String[] elements)
Creates a file instance with the given path elements in platform independent way.
elements - path elements.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||