org.ajax4jsf.io
Class FastBufferInputStream
java.lang.Object
java.io.InputStream
org.ajax4jsf.io.FastBufferInputStream
- All Implemented Interfaces:
- java.io.Closeable
public class FastBufferInputStream
- extends java.io.InputStream
Class for reading from a byte array chain.
- Author:
- glory
| Methods inherited from class java.io.InputStream |
close, markSupported |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FastBufferInputStream
public FastBufferInputStream(FastBufferOutputStream stream)
- Creates instance of FastBufferInputStream.
- Parameters:
stream -
read
public int read()
throws java.io.IOException
- Specified by:
read in class java.io.InputStream
- Throws:
java.io.IOException- See Also:
java.io.InputStream.read()
read
public int read(byte[] b)
throws java.io.IOException
- Overrides:
read in class java.io.InputStream
- Throws:
java.io.IOException- See Also:
java.io.InputStream.read(byte b[])
read
public int read(byte[] b,
int off,
int len)
throws java.io.IOException
- Overrides:
read in class java.io.InputStream
- Throws:
java.io.IOException- See Also:
java.io.InputStream.read(byte b[], int off, int len)
available
public int available()
throws java.io.IOException
- Overrides:
available in class java.io.InputStream
- Throws:
java.io.IOException- See Also:
java.io.InputStream.available()
mark
public void mark(int readAheadLimit)
- Overrides:
mark in class java.io.InputStream
- See Also:
java.io.InputStream.mark()
reset
public void reset()
- Overrides:
reset in class java.io.InputStream
- See Also:
java.io.InputStream.reset()
skip
public long skip(long n)
throws java.io.IOException
- Overrides:
skip in class java.io.InputStream
- Throws:
java.io.IOException- See Also:
java.io.InputStream.skip()
Copyright © 2010. All Rights Reserved.