@CleanupObligation public final class MeasuredFileOutputStream extends FileOutputStream
Constructor and Description |
---|
MeasuredFileOutputStream(File file,
boolean append,
Class<?> from,
MeasurementRecorderSource recorderSource) |
MeasuredFileOutputStream(File file,
Class<?> from,
MeasurementRecorderSource recorderSource) |
MeasuredFileOutputStream(FileDescriptor fdObj,
Class<?> from,
MeasurementRecorderSource recorderSource) |
MeasuredFileOutputStream(String name,
boolean append,
Class<?> from,
MeasurementRecorderSource recorderSource) |
MeasuredFileOutputStream(String name,
Class<?> from,
MeasurementRecorderSource recorderSource) |
Modifier and Type | Method and Description |
---|---|
void |
write(byte[] b) |
void |
write(byte[] b,
int off,
int len) |
void |
write(int b) |
close, finalize, getChannel, getFD
flush
public MeasuredFileOutputStream(String name, Class<?> from, MeasurementRecorderSource recorderSource) throws FileNotFoundException
FileNotFoundException
public MeasuredFileOutputStream(String name, boolean append, Class<?> from, MeasurementRecorderSource recorderSource) throws FileNotFoundException
FileNotFoundException
public MeasuredFileOutputStream(File file, Class<?> from, MeasurementRecorderSource recorderSource) throws FileNotFoundException
FileNotFoundException
public MeasuredFileOutputStream(File file, boolean append, Class<?> from, MeasurementRecorderSource recorderSource) throws FileNotFoundException
FileNotFoundException
public MeasuredFileOutputStream(FileDescriptor fdObj, Class<?> from, MeasurementRecorderSource recorderSource)
public void write(int b) throws IOException
write
in class FileOutputStream
IOException
public void write(byte[] b) throws IOException
write
in class FileOutputStream
IOException
public void write(byte[] b, int off, int len) throws IOException
write
in class FileOutputStream
IOException
Copyright © 2014. All rights reserved.