|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.metamatrix.common.tree.directory.PlatformAwareFilePermission
public class PlatformAwareFilePermission
PlatformAwareFileSystemView
| Constructor Summary | |
|---|---|
PlatformAwareFilePermission()
|
|
| Method Summary | |
|---|---|
static boolean |
changeReadOnly(java.io.File dir,
java.lang.String filespec,
boolean makeRO)
|
static int |
getOperatingSystem()
Get the operating system on which the IDE is running. |
static boolean |
isUnix()
Test whether the IDE is running on some variant of Unix. |
static boolean |
isWindows()
Test whether the IDE is running on some variant of Windows. |
static void |
main(java.lang.String[] args)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PlatformAwareFilePermission()
| Method Detail |
|---|
public static final int getOperatingSystem()
OS_* constants (such as #OS_WINNT)public static final boolean isWindows()
true if Windows, false if some other manner of operating systempublic static final boolean isUnix()
true some sort of Unix, false if some other manner of operating system
public static boolean changeReadOnly(java.io.File dir,
java.lang.String filespec,
boolean makeRO)
public static void main(java.lang.String[] args)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||