org.sblim.wbem.http.io

Class BoundedInputStream


public class BoundedInputStream
extends FilterInputStream

Author:
Administrator To change the template for this generated type comment go to Window>Preferences>Java>Code Generation>Code and Comments

Field Summary

protected boolean
closed
protected long
maxLen
protected long
used

Constructor Summary

BoundedInputStream(InputStream is)
BoundedInputStream(InputStream is, long len)

Method Summary

int
available()
void
close()
int
read()
int
read(buf[] )
int
read(buf[] , int off, int len)
long
skip(long len)

Field Details

closed

protected boolean closed

maxLen

protected long maxLen

used

protected long used

Constructor Details

BoundedInputStream

public BoundedInputStream(InputStream is)

BoundedInputStream

public BoundedInputStream(InputStream is,
                          long len)

Method Details

available

public int available()
            throws IOException

close

public void close()
            throws IOException

read

public int read()
            throws IOException

read

public int read(buf[] )
            throws IOException

read

public int read(buf[] ,
                int off,
                int len)
            throws IOException

skip

public long skip(long len)
            throws IOException

Copyright © 2005, 2009 IBM Corporation. All Rights Reserved.