- java.lang.Object
-
- java.io.OutputStream
-
- java.io.FileOutputStream
-
- com.ibm.j9ddr.libraries.MonitoredFileOutputStream
-
- All Implemented Interfaces:
Closeable
,Flushable
,AutoCloseable
public class MonitoredFileOutputStream extends FileOutputStream
-
-
Constructor Summary
Constructors Constructor Description MonitoredFileOutputStream(File file)
MonitoredFileOutputStream(FileDescriptor fdObj)
MonitoredFileOutputStream(File file, boolean append)
MonitoredFileOutputStream(String name)
MonitoredFileOutputStream(String name, boolean append)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getBytesWritten()
byte[]
getBytesWrittenAsArray()
-
Methods declared in class java.io.FileOutputStream
close, finalize, getChannel, getFD, write, write, write
-
Methods declared in class java.io.OutputStream
flush, nullOutputStream
-
-
-
-
Constructor Detail
-
MonitoredFileOutputStream
public MonitoredFileOutputStream(File file, boolean append) throws FileNotFoundException
- Throws:
FileNotFoundException
-
MonitoredFileOutputStream
public MonitoredFileOutputStream(File file) throws FileNotFoundException
- Throws:
FileNotFoundException
-
MonitoredFileOutputStream
public MonitoredFileOutputStream(FileDescriptor fdObj)
-
MonitoredFileOutputStream
public MonitoredFileOutputStream(String name, boolean append) throws FileNotFoundException
- Throws:
FileNotFoundException
-
MonitoredFileOutputStream
public MonitoredFileOutputStream(String name) throws FileNotFoundException
- Throws:
FileNotFoundException
-
-