Class BetterFileOutputStream

java.lang.Object
java.io.OutputStream
java.io.FileOutputStream
clazzfish.monitor.io.BetterFileOutputStream
All Implemented Interfaces:
Closeable, Flushable, AutoCloseable

public final class BetterFileOutputStream extends FileOutputStream
Whenever you need a FileOutputStream and want a better toString implementation you can use the class BetterFileOutputStream. "Better" means that you see the name if the input file in the log which is much more helpful than the default implementation of Object.toString(), especially for logging and debugging.

Originally this class was part of the PatternTesting project.

Author:
oliver (boehm@javatux.de)
See Also: