All Packages Class Hierarchy This Package Previous Next Index
Class fabula.util.Sys
java.lang.Object
|
+----fabula.util.Sys
- public class Sys
- extends Object
The class Sys
defines several methods for accessing
general system attributes and functions
-
Beep()
- Generate a little beep, with using put the ASCII-BELL character
to the console.
-
ColorDepth()
- Returns the colordepth of the system.
-
Delay(int)
- Delays the system for a few milliseconds.
-
JavaVersion()
- Returns the java version for Example "1.0.1" or "1.1"
-
OsName()
- Returns the name of the operating system Example "Windows NT"
-
OsVersion()
- Returns the version number of the operating system Example "4.0"
-
Readln()
- Wait for some input
-
TempPath()
- Returns a path that is private for the current user and can
be used for temporary files for example.
-
Writeln()
- dump some values
-
Writeln(String)
-
TempPath
public static String TempPath()
- Returns a path that is private for the current user and can
be used for temporary files for example. For this purpose
the system property user.temp is used if this property
does not exists the property "user.home" is used instead.
- Returns:
- the path for temporary files
Delay
public static void Delay(int aMs)
- Delays the system for a few milliseconds.
- Parameters:
- aMs - the number of milliseconds the system should be delayed
Beep
public static void Beep()
- Generate a little beep, with using put the ASCII-BELL character
to the console.
ColorDepth
public static int ColorDepth()
- Returns the colordepth of the system. In this case ever 24
until I know how to determine it a little better.
- Returns:
- color depth for the system
JavaVersion
public static String JavaVersion()
- Returns the java version for Example "1.0.1" or "1.1"
- Returns:
- Version of the java system
OsName
public static String OsName()
- Returns the name of the operating system Example "Windows NT"
- Returns:
- name of the operating system
OsVersion
public static String OsVersion()
- Returns the version number of the operating system Example "4.0"
- Returns:
- version of the operating system
Readln
public static String Readln()
- Wait for some input
Writeln
public static void Writeln()
- dump some values
Writeln
public static void Writeln(String S)
All Packages Class Hierarchy This Package Previous Next Index