RewindableRotatingFileOutputStream
@Deprecated public class ReopenableRotatingFileOutputStream extends ReopenableFileOutputStream
ReopenableFileOutputStream
that does log rotation upon rewind.out
Constructor and Description |
---|
ReopenableRotatingFileOutputStream(File out,
int size)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
deleteAll()
Deprecated.
Deletes all the log files, including rotated files.
|
protected File |
getNumberedFileName(int n)
Deprecated.
|
void |
rewind()
Deprecated.
In addition to close, ensure that the next "open" would truncate the file.
|
public ReopenableRotatingFileOutputStream(File out, int size)
protected File getNumberedFileName(int n)
public void rewind() throws IOException
ReopenableFileOutputStream
rewind
in class ReopenableFileOutputStream
IOException
public void deleteAll()
Copyright © 2004–2022. All rights reserved.