org.mortbay.util
Class RolloverFileOutputStream
java.lang.Object
java.io.OutputStream
java.io.FilterOutputStream
org.mortbay.util.RolloverFileOutputStream
- public class RolloverFileOutputStream
- extends FilterOutputStream
RolloverFileOutputStream
- Author:
- Greg Wilkins
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RolloverFileOutputStream
public RolloverFileOutputStream(String filename)
throws IOException
RolloverFileOutputStream
public RolloverFileOutputStream(String filename,
boolean append)
throws IOException
RolloverFileOutputStream
public RolloverFileOutputStream(String filename,
boolean append,
int retainDays)
throws IOException
getFilename
public String getFilename()
getDatedFilename
public String getDatedFilename()
getRetainDays
public int getRetainDays()
write
public void write(byte[] buf)
throws IOException
- Throws:
IOException
write
public void write(byte[] buf,
int off,
int len)
throws IOException
- Throws:
IOException
close
public void close()
throws IOException
- Throws:
IOException