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, write
public RolloverFileOutputStream(String filename) throws IOException
IOException
public RolloverFileOutputStream(String filename, boolean append) throws IOException
IOException
public RolloverFileOutputStream(String filename, boolean append, int retainDays) throws IOException
IOException
public String getFilename()
public String getDatedFilename()
public int getRetainDays()
public void write(byte[] buf) throws IOException
write
in class FilterOutputStream
IOException
public void write(byte[] buf, int off, int len) throws IOException
write
in class FilterOutputStream
IOException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class FilterOutputStream
IOException
Copyright © 2013. All Rights Reserved.