|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.io.InputStream
org.mortbay.http.nio.ByteBufferInputStream
| Constructor Summary | |
ByteBufferInputStream(int bufferSize)
Constructor. |
|
| Method Summary | |
int |
available()
|
void |
close()
|
void |
destroy()
|
java.nio.ByteBuffer |
getBuffer()
Get a buffer to write to this InputStream. |
long |
getTimeout()
getSoTimeout. |
void |
mark(int arg0)
|
boolean |
markSupported()
|
int |
read()
|
int |
read(byte[] buf)
|
int |
read(byte[] buf,
int offset,
int length)
|
void |
recycle(java.nio.ByteBuffer buf)
|
void |
reset()
|
void |
setTimeout(long l)
setSoTimeout. |
long |
skip(long length)
|
void |
write(java.nio.ByteBuffer buffer)
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ByteBufferInputStream(int bufferSize)
| Method Detail |
public long getTimeout()
public void setTimeout(long l)
l -
public int read()
throws java.io.IOException
java.io.IOException
public int available()
throws java.io.IOException
java.io.IOException
public void close()
throws java.io.IOException
java.io.IOExceptionpublic void mark(int arg0)
public boolean markSupported()
public int read(byte[] buf,
int offset,
int length)
throws java.io.IOException
java.io.IOException
public int read(byte[] buf)
throws java.io.IOException
java.io.IOException
public void reset()
throws java.io.IOException
java.io.IOException
public long skip(long length)
throws java.io.IOException
java.io.IOExceptionInputStream.skip(long)public void write(java.nio.ByteBuffer buffer)
public java.nio.ByteBuffer getBuffer()
public void recycle(java.nio.ByteBuffer buf)
public void destroy()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||