sisc.io.custom
Class SchemeWriter
java.lang.Object
java.io.Writer
sisc.io.custom.SchemeWriter
- All Implemented Interfaces:
- java.io.Closeable, java.io.Flushable, java.lang.Appendable, CustomPortProxy
public class SchemeWriter
- extends java.io.Writer
- implements CustomPortProxy
Fields inherited from class java.io.Writer |
lock |
Methods inherited from class java.io.Writer |
append, append, append, write, write, write |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SchemeWriter
public SchemeWriter(Procedure write,
Procedure writeBlock,
Procedure flush,
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
write
public void write(int c)
throws java.io.IOException
- Overrides:
write
in class java.io.Writer
- Throws:
java.io.IOException
write
public void write(char[] b,
int offset,
int length)
throws java.io.IOException
- Specified by:
write
in class java.io.Writer
- Throws:
java.io.IOException
flush
public void flush()
throws java.io.IOException
- Specified by:
flush
in interface java.io.Flushable
- Specified by:
flush
in class java.io.Writer
- 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.Writer
- Throws:
java.io.IOException