Protege 3.4

edu.stanford.smi.protege.server.socket
Class MonitoringInputStream

java.lang.Object
  extended by java.io.InputStream
      extended by edu.stanford.smi.protege.server.socket.MonitoringInputStream
All Implemented Interfaces:
Closeable

public class MonitoringInputStream
extends InputStream


Constructor Summary
MonitoringInputStream(InputStream is)
           
 
Method Summary
 void close()
           
 int read()
           
 int read(byte[] b, int off, int len)
           
 long skip(long n)
           
 
Methods inherited from class java.io.InputStream
available, mark, markSupported, read, reset
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MonitoringInputStream

public MonitoringInputStream(InputStream is)
                      throws IOException
Throws:
IOException
Method Detail

read

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

read

public int read(byte[] b,
                int off,
                int len)
         throws IOException
Overrides:
read in class InputStream
Throws:
IOException

skip

public long skip(long n)
          throws IOException
Overrides:
skip in class InputStream
Throws:
IOException

close

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

Protege 3.4

Submit a bug report or feature request
Protégé is a trademark of Stanford University.
Copyright (c) 1998-2009 Stanford University.