org.mbari.siam.core
Class HttpInstrumentPort.InputStream

java.lang.Object
  extended by java.io.InputStream
      extended by org.mbari.siam.core.HttpInstrumentPort.InputStream
All Implemented Interfaces:
java.io.Closeable
Enclosing class:
HttpInstrumentPort

public class HttpInstrumentPort.InputStream
extends java.io.InputStream

Input stream


Constructor Summary
HttpInstrumentPort.InputStream(org.mbari.siam.core.HttpInstrumentPort.OutputStream output)
           
 
Method Summary
 int available()
           
 void close()
           
 void mark(int readlimit)
           
 boolean markSupported()
           
 int read()
          Read and discard input, return number of bytes read
 int read(byte[] b)
          Read input into byte array, return number of bytes read
 int read(byte[] b, int off, int len)
          Read input into byte array, return number of bytes read
 void reset()
           
 long skip(long n)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HttpInstrumentPort.InputStream

public HttpInstrumentPort.InputStream(org.mbari.siam.core.HttpInstrumentPort.OutputStream output)
Method Detail

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

markSupported

public boolean markSupported()
Overrides:
markSupported in class java.io.InputStream

mark

public void mark(int readlimit)
Overrides:
mark in class java.io.InputStream

read

public int read()
         throws java.io.IOException
Read and discard input, return number of bytes read

Specified by:
read in class java.io.InputStream
Throws:
java.io.IOException

read

public int read(byte[] b)
         throws java.io.IOException
Read input into byte array, return number of bytes read

Overrides:
read in class java.io.InputStream
Throws:
java.io.IOException

read

public int read(byte[] b,
                int off,
                int len)
         throws java.io.IOException
Read input into byte array, return number of bytes read

Overrides:
read in class java.io.InputStream
Throws:
java.io.IOException

reset

public void reset()
           throws java.io.IOException
Overrides:
reset in class java.io.InputStream
Throws:
java.io.IOException

skip

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


Copyright © 2003 MBARI.

The Monterey Bay Aquarium Research Institute (MBARI) provides this documentation and code "as is", with no warranty, express or implied, of its quality or consistency. It is provided without support and without obligation on the part of MBARI to assist in its use, correction, modification, or enhancement.