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


Method Index

 o Beep()
Generate a little beep, with using put the ASCII-BELL character to the console.
 o ColorDepth()
Returns the colordepth of the system.
 o Delay(int)
Delays the system for a few milliseconds.
 o JavaVersion()
Returns the java version for Example "1.0.1" or "1.1"
 o OsName()
Returns the name of the operating system Example "Windows NT"
 o OsVersion()
Returns the version number of the operating system Example "4.0"
 o Readln()
Wait for some input
 o TempPath()
Returns a path that is private for the current user and can be used for temporary files for example.
 o Writeln()
dump some values
 o Writeln(String)

Methods

 o 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
 o 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
 o Beep
  public static void Beep()
Generate a little beep, with using put the ASCII-BELL character to the console.

 o 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
 o JavaVersion
  public static String JavaVersion()
Returns the java version for Example "1.0.1" or "1.1"

Returns:
Version of the java system
 o OsName
  public static String OsName()
Returns the name of the operating system Example "Windows NT"

Returns:
name of the operating system
 o OsVersion
  public static String OsVersion()
Returns the version number of the operating system Example "4.0"

Returns:
version of the operating system
 o Readln
  public static String Readln()
Wait for some input

 o Writeln
  public static void Writeln()
dump some values

 o Writeln
  public static void Writeln(String S)

All Packages  Class Hierarchy  This Package  Previous  Next  Index