java.rmi.server
Class LogStream

java.lang.Object
  extended by java.io.OutputStream
      extended by java.io.FilterOutputStream
          extended by java.io.PrintStream
              extended by java.rmi.server.LogStream
All Implemented Interfaces:
Closeable, Flushable, Appendable

Deprecated.

public class LogStream
extends PrintStream


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

SILENT

public static final int SILENT
Deprecated. 
See Also:
Constant Field Values

BRIEF

public static final int BRIEF
Deprecated. 
See Also:
Constant Field Values

VERBOSE

public static final int VERBOSE
Deprecated. 
See Also:
Constant Field Values
Method Detail

log

public static LogStream log(String name)
Deprecated. 


getDefaultStream

public static PrintStream getDefaultStream()
Deprecated. 


setDefaultStream

public static void setDefaultStream(PrintStream s)
Deprecated. 


getOutputStream

public OutputStream getOutputStream()
Deprecated. 


setOutputStream

public void setOutputStream(OutputStream s)
Deprecated. 


write

public void write(int buffer)
Deprecated. 

Description copied from class: PrintStream
This method writes a byte of data to the stream. If auto-flush is enabled, printing a newline character will cause the stream to be flushed after the character is written.

Overrides:
write in class PrintStream
Parameters:
buffer - The byte to be written

write

public void write(byte[] buffer,
                  int offset,
                  int len)
Deprecated. 

Description copied from class: PrintStream
This method writes len bytes from the specified array starting at index offset into the array.

Overrides:
write in class PrintStream
Parameters:
buffer - The array of bytes to write
offset - The index into the array to start writing from
len - The number of bytes to write

toString

public String toString()
Deprecated. 

Description copied from class: Object
Convert this Object to a human-readable String. There are no limits placed on how long this String should be or what it should contain. We suggest you make it as intuitive as possible to be able to place it into System.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()).

Overrides:
toString in class Object
Returns:
the String representing this Object, which may be null
See Also:
Object.getClass(), Object.hashCode(), Class.getName(), Integer.toHexString(int)

parseLevel

public static int parseLevel(String s)
Deprecated.