|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.io.OutputStream
java.io.FilterOutputStream
java.io.PrintStream
java.rmi.server.LogStream
public class LogStream
| Field Summary | |
|---|---|
static int |
BRIEF
Deprecated. |
static int |
SILENT
Deprecated. |
static int |
VERBOSE
Deprecated. |
| Fields inherited from class java.io.FilterOutputStream |
|---|
out |
| Method Summary | |
|---|---|
static PrintStream |
getDefaultStream()
Deprecated. |
OutputStream |
getOutputStream()
Deprecated. |
static LogStream |
log(String name)
Deprecated. |
static int |
parseLevel(String s)
Deprecated. |
static void |
setDefaultStream(PrintStream s)
Deprecated. |
void |
setOutputStream(OutputStream s)
Deprecated. |
String |
toString()
Deprecated. |
void |
write(byte[] buffer,
int offset,
int len)
Deprecated. |
void |
write(int buffer)
Deprecated. |
| Methods inherited from class java.io.PrintStream |
|---|
append, append, append, checkError, close, flush, format, format, print, print, print, print, print, print, print, print, print, printf, printf, println, println, println, println, println, println, println, println, println, println, setError |
| Methods inherited from class java.io.FilterOutputStream |
|---|
write |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int SILENT
public static final int BRIEF
public static final int VERBOSE
| Method Detail |
|---|
public static LogStream log(String name)
public static PrintStream getDefaultStream()
public static void setDefaultStream(PrintStream s)
public OutputStream getOutputStream()
public void setOutputStream(OutputStream s)
public void write(int buffer)
PrintStream
write in class PrintStreambuffer - The byte to be written
public void write(byte[] buffer,
int offset,
int len)
PrintStreamlen bytes from the specified array
starting at index offset into the array.
write in class PrintStreambuffer - The array of bytes to writeoffset - The index into the array to start writing fromlen - The number of bytes to writepublic String toString()
ObjectSystem.out.println()
and such.
It is typical, but not required, to ensure that this method
never completes abruptly with a RuntimeException.
This method will be called when performing string
concatenation with this object. If the result is
null, string concatenation will instead
use "null".
The default implementation returns
getClass().getName() + "@" +
Integer.toHexString(hashCode()).
toString in class ObjectObject.getClass(),
Object.hashCode(),
Class.getName(),
Integer.toHexString(int)public static int parseLevel(String s)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||