sisc.io.custom
Class SchemeReader
java.lang.Object
java.io.Reader
sisc.io.custom.SchemeReader
- All Implemented Interfaces:
- java.io.Closeable, java.lang.Readable, CustomPortProxy
public class SchemeReader
- extends java.io.Reader
- implements CustomPortProxy
Fields inherited from class java.io.Reader |
lock |
Methods inherited from class java.io.Reader |
mark, markSupported, read, read, reset, skip |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SchemeReader
public SchemeReader(Procedure read,
Procedure readString,
Procedure ready,
Procedure close)
getHost
public Value getHost()
- Specified by:
getHost
in interface CustomPortProxy
setHost
public void setHost(Value host)
- Specified by:
setHost
in interface CustomPortProxy
getProcs
public Pair getProcs()
- Specified by:
getProcs
in interface CustomPortProxy
read
public int read()
throws java.io.IOException
- Overrides:
read
in class java.io.Reader
- Throws:
java.io.IOException
read
public int read(char[] buffer,
int offset,
int length)
throws java.io.IOException
- Specified by:
read
in class java.io.Reader
- Throws:
java.io.IOException
ready
public boolean ready()
throws java.io.IOException
- Overrides:
ready
in class java.io.Reader
- Throws:
java.io.IOException
close
public void close()
throws java.io.IOException
- Specified by:
close
in interface java.io.Closeable
- Specified by:
close
in class java.io.Reader
- Throws:
java.io.IOException