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.IOExceptionpublic void closeLogFile()
throws java.io.IOException
java.io.IOExceptionpublic void write(int c)
throws java.io.IOException
write in class java.io.FilterWriterjava.io.IOExceptionpublic void echo(char[] buf,
int off,
int len)
throws java.io.IOException
java.io.IOExceptionpublic void write(char[] buf,
int off,
int len)
throws java.io.IOException
write in class java.io.FilterWriterjava.io.IOExceptionpublic void write(java.lang.String str,
int off,
int len)
throws java.io.IOException
write in class java.io.FilterWriterjava.io.IOExceptionpublic void flush()
throws java.io.IOException
flush in interface java.io.Flushableflush in class java.io.FilterWriterjava.io.IOExceptionpublic void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in class java.io.FilterWriterjava.io.IOException