|
JTS Topology Suite - v 1.12 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.vividsolutions.jts.io.InputStreamInStream
public class InputStreamInStream
An adapter to allow an InputStream
to be used as an InStream
Constructor Summary | |
---|---|
InputStreamInStream(java.io.InputStream is)
|
Method Summary | |
---|---|
void |
read(byte[] buf)
Reads buf.length bytes from the input stream
and stores them in the supplied buffer. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public InputStreamInStream(java.io.InputStream is)
Method Detail |
---|
public void read(byte[] buf) throws java.io.IOException
InStream
buf.length
bytes from the input stream
and stores them in the supplied buffer.
read
in interface InStream
buf
- the buffer to receive the bytes
java.io.IOException
- if an I/O error occurs
|
JTS Topology Suite - v 1.12 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |