|
HPSearch | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.io.InputStream
cgl.hpsearch.engine.URIBindings.IOBridge
Provides an easy way of converting an OutputStream to InputStream.
Contains 2 threads implementing a PipeInputStream and PipeOutputStream. The
write calls write to the pipe and the read
calls are used to read from the pipe.
| Constructor Summary | |
IOBridge()
Deprecated. |
|
IOBridge(NBNativeStreamHandler nbnativeStream)
Deprecated. |
|
| Method Summary | |
int |
available()
Deprecated. |
void |
close()
Deprecated. |
void |
closeBridge()
Deprecated. |
void |
eof()
Deprecated. |
void |
init()
Deprecated. |
int |
read()
Deprecated. |
int |
read(byte[] buf)
Deprecated. |
int |
read(byte[] buf,
int offset,
int len)
Deprecated. |
void |
write(byte[] buf)
Deprecated. |
void |
write(byte[] inbuf,
int offset,
int len)
Deprecated. |
| Methods inherited from class java.io.InputStream |
mark, markSupported, reset, skip |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public IOBridge(NBNativeStreamHandler nbnativeStream)
throws IOException
public IOBridge()
throws IOException
| Method Detail |
public void init()
throws IOException
IOExceptionpublic int read()
public void write(byte[] buf)
throws IOException
IOException
public void write(byte[] inbuf,
int offset,
int len)
throws IOException
IOExceptionpublic void eof()
public int read(byte[] buf,
int offset,
int len)
throws IOException
IOException
public int read(byte[] buf)
throws IOException
IOException
public void closeBridge()
throws IOException
IOException
public void close()
throws IOException
IOException
public int available()
throws IOException
IOException
|
HPSearch | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||