com.vividsolutions.jts.io
Class InputStreamInStream
java.lang.Object
com.vividsolutions.jts.io.InputStreamInStream
- All Implemented Interfaces:
- InStream
public class InputStreamInStream
- extends Object
- implements InStream
An adapter to allow an InputStream to be used as an InStream
|
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 |
InputStreamInStream
public InputStreamInStream(InputStream is)
read
public void read(byte[] buf)
throws IOException
- Description copied from interface:
InStream
- Reads
buf.length bytes from the input stream
and stores them in the supplied buffer.
- Specified by:
read in interface InStream
- Parameters:
buf - the buffer to receive the bytes
- Throws:
IOException - if an I/O error occurs
Copyright © 2012. All Rights Reserved.