com.jrockit.mc.rjmx.flr.internal
Class FLRRecordingInputStream

java.lang.Object
  extended by java.io.InputStream
      extended by com.jrockit.mc.rjmx.flr.internal.FLRRecordingInputStream
All Implemented Interfaces:
java.io.Closeable

public final class FLRRecordingInputStream
extends java.io.InputStream

Class representing an InputStream from an IRecordingDescriptor between two dates.

Author:
Marcus Hirt

Constructor Summary
FLRRecordingInputStream(FlightRecorderCommunicationHelper helper, IRecordingDescriptor recording, boolean removeOnClose)
           
FLRRecordingInputStream(FlightRecorderCommunicationHelper helper, IRecordingDescriptor recording, java.util.Date startTime, java.util.Date endTime, boolean removeOnClose)
           
 
Method Summary
 int available()
           
 void close()
           
 int read()
           
 
Methods inherited from class java.io.InputStream
mark, markSupported, read, read, reset, skip
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FLRRecordingInputStream

public FLRRecordingInputStream(FlightRecorderCommunicationHelper helper,
                               IRecordingDescriptor recording,
                               java.util.Date startTime,
                               java.util.Date endTime,
                               boolean removeOnClose)

FLRRecordingInputStream

public FLRRecordingInputStream(FlightRecorderCommunicationHelper helper,
                               IRecordingDescriptor recording,
                               boolean removeOnClose)
Method Detail

read

public int read()
         throws java.io.IOException
Specified by:
read in class java.io.InputStream
Throws:
java.io.IOException

available

public int available()
              throws java.io.IOException
Overrides:
available in class java.io.InputStream
Throws:
java.io.IOException

close

public void close()
           throws java.io.IOException
Specified by:
close in interface java.io.Closeable
Overrides:
close in class java.io.InputStream
Throws:
java.io.IOException


Copyright © 1999, 2011, Oracle and/or its affiliates. All rights reserved.