public class LogWriter
extends java.io.FilterWriter
Constructor and Description |
---|
LogWriter(java.io.Writer out) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
closeLogFile() |
void |
echo(char[] buf,
int off,
int len) |
void |
flush() |
java.io.Writer |
getLogFile() |
void |
setLogFile(java.lang.String name) |
void |
setLogFile(java.io.Writer log) |
void |
write(char[] buf,
int off,
int len) |
void |
write(int c) |
void |
write(java.lang.String str,
int off,
int len) |
public final java.io.Writer getLogFile()
public void setLogFile(java.io.Writer log)
public void setLogFile(java.lang.String name) throws java.io.IOException
java.io.IOException
public void closeLogFile() throws java.io.IOException
java.io.IOException
public void write(int c) throws java.io.IOException
write
in class java.io.FilterWriter
java.io.IOException
public void echo(char[] buf, int off, int len) throws java.io.IOException
java.io.IOException
public void write(char[] buf, int off, int len) throws java.io.IOException
write
in class java.io.FilterWriter
java.io.IOException
public void write(java.lang.String str, int off, int len) throws java.io.IOException
write
in class java.io.FilterWriter
java.io.IOException
public void flush() throws java.io.IOException
flush
in interface java.io.Flushable
flush
in class java.io.FilterWriter
java.io.IOException
public void close() throws java.io.IOException
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
close
in class java.io.FilterWriter
java.io.IOException