@CleanupObligation public final class MeasuredFileInputStream extends FileInputStream
| Constructor and Description |
|---|
MeasuredFileInputStream(File file,
Class<?> from,
MeasurementRecorderSource recorderSource) |
MeasuredFileInputStream(FileDescriptor fdObj,
Class<?> from,
MeasurementRecorderSource recorderSource) |
MeasuredFileInputStream(String name,
Class<?> from,
MeasurementRecorderSource recorderSource) |
| Modifier and Type | Method and Description |
|---|---|
int |
read() |
int |
read(byte[] b) |
int |
read(byte[] b,
int off,
int len) |
available, close, finalize, getChannel, getFD, skipmark, markSupported, resetpublic MeasuredFileInputStream(String name, Class<?> from, MeasurementRecorderSource recorderSource) throws FileNotFoundException
FileNotFoundExceptionpublic MeasuredFileInputStream(File file, Class<?> from, MeasurementRecorderSource recorderSource) throws FileNotFoundException
FileNotFoundExceptionpublic MeasuredFileInputStream(FileDescriptor fdObj, Class<?> from, MeasurementRecorderSource recorderSource)
public int read(byte[] b)
throws IOException
read in class FileInputStreamIOExceptionpublic int read(byte[] b,
int off,
int len)
throws IOException
read in class FileInputStreamIOExceptionpublic int read()
throws IOException
read in class FileInputStreamIOExceptionCopyright © 2014. All rights reserved.