|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjurpe.system.OSProps
public final class OSProps
Contains Operating System related functions. Implemented as a singleton. Use it with OSProps op = OSProps.getReference()
| Field Summary | |
|---|---|
static java.lang.String |
FILESEPARATOR
|
static java.lang.String |
LINEFEED
|
| Method Summary | |
|---|---|
static OSProps |
getReference()
Use this method to get to class methods |
boolean |
isLinux()
If program is running on Linux |
void |
showURL(java.lang.String url)
Displays a URL in current browser application. |
java.lang.String |
toString()
String describing OS and Architecture in which program is run. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String LINEFEED
public static final java.lang.String FILESEPARATOR
| Method Detail |
|---|
public static OSProps getReference()
public java.lang.String toString()
toString in class java.lang.Objectpublic void showURL(java.lang.String url)
url - URL to displaypublic boolean isLinux()
|
Jurpe - Java Universal Role Playing Engine - http://jurpe.sourceforge.net | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||