oscript.util
Class ReaderInputStream
java.lang.Object
java.io.InputStream
oscript.util.ReaderInputStream
- public class ReaderInputStream
- extends java.io.InputStream
Used to convert Reader -> InputStream... right now AbstractFile is
strictly binary stream based, not character stream. Maybe in the
future AbstractFile will optionally support both, so this can go
away... and we won't be tied to sun's JDK for no good reason.
- Author:
- Rob Clark (rob@ti.com)
Method Summary |
void |
close()
|
int |
read()
|
int |
read(byte[] b,
int off,
int len)
|
Methods inherited from class java.io.InputStream |
available, mark, markSupported, read, reset, skip |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
read
public int read()
throws java.io.IOException
- Throws:
java.io.IOException
read
public int read(byte[] b,
int off,
int len)
throws java.io.IOException
- Throws:
java.io.IOException
close
public void close()
throws java.io.IOException
- Throws:
java.io.IOException