electric.util.io
Class ChunkedInputStream

java.lang.Object
  extended byjava.io.InputStream
      extended byjava.io.FilterInputStream
          extended byelectric.util.io.ChunkedInputStream

public final class ChunkedInputStream
extends java.io.FilterInputStream

ChunkedInputStream

Author:
webMethods

Field Summary
 
Fields inherited from class java.io.FilterInputStream
in
 
Constructor Summary
ChunkedInputStream(java.io.InputStream inputStream)
           
 
Method Summary
 int read()
           
 int read(byte[] buffer, int offset, int length)
          This method is an implementation of the algorithm described in the section 19.4.6 from the RFC2616 (http://www.w3.org/Protocols/rfc2616/rfc2616.html).
 
Methods inherited from class java.io.FilterInputStream
available, close, mark, markSupported, read, reset, skip
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChunkedInputStream

public ChunkedInputStream(java.io.InputStream inputStream)
Parameters:
inputStream -
Method Detail

read

public int read()
         throws java.io.IOException
Throws:
java.io.IOException

read

public int read(byte[] buffer,
                int offset,
                int length)
         throws java.io.IOException
This method is an implementation of the algorithm described in the section 19.4.6 from the RFC2616 (http://www.w3.org/Protocols/rfc2616/rfc2616.html).

Parameters:
buffer -
offset -
length -
Throws:
java.io.IOException


copyright© 2001-2004 by webMethods All Rights Reserved.