public class JPIPResponseReader extends java.lang.Object implements JPIPMessageReader
Modifier and Type | Field and Description |
---|---|
private boolean |
endOfStream
This attribute indicates whether the end of stream has been reached.
|
private java.io.InputStream |
inputStream
The input stream where data are read from.
|
Constructor and Description |
---|
JPIPResponseReader(java.io.InputStream inputStream) |
Modifier and Type | Method and Description |
---|---|
boolean |
isEndOfStream() |
void |
list(java.io.PrintStream out)
Prints this JPIP Response Reader fields out to the specified output
stream.
|
int |
read() |
void |
readFully(byte[] b,
int off,
int len) |
java.lang.String |
toString() |
private java.io.InputStream inputStream
private boolean endOfStream
public JPIPResponseReader(java.io.InputStream inputStream)
inputStream
- public int read()
read
in interface JPIPMessageReader
public void readFully(byte[] b, int off, int len)
readFully
in interface JPIPMessageReader
public boolean isEndOfStream()
public java.lang.String toString()
toString
in class java.lang.Object
public void list(java.io.PrintStream out)
out
- an output stream.
CADI - Copyright (C) 2007
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
Group on Interactive Coding of Images (GICI) (contact)