|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.Prominic.jFTPd.OS
public class OS
This class is a wrapper for OS operations (OS name and executing commands) Creation date: (06-Apr-02 12:45:59)
| Field Summary | |
|---|---|
private static java.lang.String |
osName
|
| Constructor Summary | |
|---|---|
OS()
OS default constructor. |
|
| Method Summary | |
|---|---|
static void |
exec(java.lang.String[] commandToBeRunned)
Executes a command (equivalent of running it from a command line). |
static boolean |
isWindows()
Checks if the operating system is Windows (System.getProperty("os.name") starts with "Win". |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private static java.lang.String osName
| Constructor Detail |
|---|
public OS()
| Method Detail |
|---|
public static void exec(java.lang.String[] commandToBeRunned)
commandToBeRunned - - the command to be runned.
Creation date: (06-Apr-02 12:48:47)public static boolean isWindows()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||