Java  1.0
Public Member Functions | List of all members
TextIOApplet.BogusSystem Class Reference

A class for implementing the "System.out/System.in" kludge. More...

Collaboration diagram for TextIOApplet.BogusSystem:
Collaboration graph
[legend]

Public Member Functions

long currentTimeMillis ()
 
void exit (int ignored)
 

Detailed Description

A class for implementing the "System.out/System.in" kludge.

The member variable System is an object belonging to this class, and the members of this object are System.out and System.in. Note that this class also provides a couple of the commonly used methods that are found in the usual System class. The currentTimeMillis() in this class simply calls java.lang.System.currentTimeMillis(), while the exit() method in this class throws an exception. (Calling java.lang.System.exit() would cause a security exception in any case, if it were thrown by an applet.) You can add other methods from the standard System class, if you need them.

Definition at line 166 of file TextIOApplet.java.

Member Function Documentation

◆ currentTimeMillis()

long TextIOApplet.BogusSystem.currentTimeMillis ( )

Definition at line 169 of file TextIOApplet.java.

◆ exit()

void TextIOApplet.BogusSystem.exit ( int  ignored)

Definition at line 172 of file TextIOApplet.java.


The documentation for this class was generated from the following file: