All Packages Class Hierarchy This Package Previous Next Index
Class pinball.log.LogFile
java.lang.Object
|
+----pinball.log.LogFile
- public class LogFile
- extends Object
Opens a log file for reading or writing.
-
LogFile(String, Applet)
- Get the file from applets.
-
LogFile(String, char)
- Opens a log file for reading or writting.
-
getReader()
- Get the reading part of the file, if opened for reading.
-
getWriter()
- Get the writing part of the file, if opened for writing.
LogFile
public LogFile(String name,
char how) throws IOException
- Opens a log file for reading or writting.
- Parameters:
- name - file name of the log file.
- how - how the file is to be opened. w for write, r for read.
LogFile
public LogFile(String name,
Applet applet)
- Get the file from applets.
- Parameters:
- name - the filename.
- applet - the applet that has file.
getReader
public BufferedReader getReader()
- Get the reading part of the file, if opened for reading.
- Returns:
- The reading part of the file.
getWriter
public DataOutputStream getWriter()
- Get the writing part of the file, if opened for writing.
- Returns:
- The writing part of the file.
All Packages Class Hierarchy This Package Previous Next Index