public class RolloverFileOutputStream extends FilterOutputStream
out| Constructor and Description |
|---|
RolloverFileOutputStream(String filename) |
RolloverFileOutputStream(String filename,
boolean append) |
RolloverFileOutputStream(String filename,
boolean append,
int retainDays) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
String |
getDatedFilename() |
String |
getFilename() |
int |
getRetainDays() |
void |
write(byte[] buf) |
void |
write(byte[] buf,
int off,
int len) |
flush, writepublic RolloverFileOutputStream(String filename) throws IOException
IOExceptionpublic RolloverFileOutputStream(String filename, boolean append) throws IOException
IOExceptionpublic RolloverFileOutputStream(String filename, boolean append, int retainDays) throws IOException
IOExceptionpublic String getFilename()
public String getDatedFilename()
public int getRetainDays()
public void write(byte[] buf)
throws IOException
write in class FilterOutputStreamIOExceptionpublic void write(byte[] buf,
int off,
int len)
throws IOException
write in class FilterOutputStreamIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class FilterOutputStreamIOExceptionCopyright © 2013. All rights reserved.