public class RolloverFileOutputStream
extends java.io.FilterOutputStream
| Constructor and Description |
|---|
RolloverFileOutputStream(java.lang.String filename) |
RolloverFileOutputStream(java.lang.String filename,
boolean append) |
RolloverFileOutputStream(java.lang.String filename,
boolean append,
int retainDays) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
java.lang.String |
getDatedFilename() |
java.lang.String |
getFilename() |
int |
getRetainDays() |
void |
write(byte[] buf) |
void |
write(byte[] buf,
int off,
int len) |
public RolloverFileOutputStream(java.lang.String filename)
throws java.io.IOException
java.io.IOExceptionpublic RolloverFileOutputStream(java.lang.String filename,
boolean append)
throws java.io.IOException
java.io.IOExceptionpublic RolloverFileOutputStream(java.lang.String filename,
boolean append,
int retainDays)
throws java.io.IOException
java.io.IOExceptionpublic java.lang.String getFilename()
public java.lang.String getDatedFilename()
public int getRetainDays()
public void write(byte[] buf)
throws java.io.IOException
write in class java.io.FilterOutputStreamjava.io.IOExceptionpublic void write(byte[] buf,
int off,
int len)
throws java.io.IOException
write in class java.io.FilterOutputStreamjava.io.IOExceptionpublic void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in class java.io.FilterOutputStreamjava.io.IOExceptionCopyright © 2004 Mortbay Consulting Pty. Ltd. All Rights Reserved.