public class ByteBufferInputStream
extends java.io.InputStream
| Constructor and Description |
|---|
ByteBufferInputStream(java.util.ArrayList bufferList,
ClientHandler handler,
java.lang.String charset) |
| Modifier and Type | Method and Description |
|---|---|
int |
available() |
int |
availableOnlyInByteBuffer() |
void |
close() |
void |
dumpContent() |
boolean |
isLineReady()
Checks if a line of String is ready to be read.
|
static boolean |
isLoggable(java.util.logging.Level level) |
boolean |
markSupported() |
int |
read() |
int |
read(byte[] b) |
int |
read(byte[] b,
int off,
int len) |
java.lang.String |
readLine()
Reads a line of String if ready.
|
static void |
setDebug(boolean flag)
Sets the debug flag.
|
long |
skip(long n) |
public ByteBufferInputStream(java.util.ArrayList bufferList,
ClientHandler handler,
java.lang.String charset)
public static void setDebug(boolean flag)
public static boolean isLoggable(java.util.logging.Level level)
public int availableOnlyInByteBuffer()
public int available()
available in class java.io.InputStreampublic void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in class java.io.InputStreamjava.io.IOExceptionpublic boolean markSupported()
markSupported in class java.io.InputStreampublic int read()
throws java.io.IOException
read in class java.io.InputStreamjava.io.IOExceptionpublic int read(byte[] b)
throws java.io.IOException
read in class java.io.InputStreamjava.io.IOExceptionpublic int read(byte[] b,
int off,
int len)
throws java.io.IOException
read in class java.io.InputStreamjava.io.IOExceptionpublic long skip(long n)
throws java.io.IOException
skip in class java.io.InputStreamjava.io.IOExceptionpublic boolean isLineReady()
throws java.io.IOException
java.io.IOException - if connection is lost or closed.public java.lang.String readLine()
throws java.io.IOException
isLineReady()java.io.IOExceptionisLineReady()public void dumpContent()
Copyright © 2003-2014 QuickServer.org