|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.io.OutputStream
net.loadbang.jython.util.MaxWindowWriter
public abstract class MaxWindowWriter
A class mapping Jython's output printing to post()/error() messages in the Max window. Since Jython 2.5 we've not been able to rely on the default printing (buffered by Jython) working properly.
| Constructor Summary | |
|---|---|
MaxWindowWriter()
|
|
| Method Summary | |
|---|---|
void |
close()
|
void |
flush()
|
void |
write(int b)
A rather inefficient byte writer; we check for line separation on every character! TODO: apply a heuristic to cut this down. |
| Methods inherited from class java.io.OutputStream |
|---|
write, write |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MaxWindowWriter()
| Method Detail |
|---|
public void close()
throws java.io.IOException
close in interface java.io.Closeableclose in class java.io.OutputStreamjava.io.IOException
public void flush()
throws java.io.IOException
flush in interface java.io.Flushableflush in class java.io.OutputStreamjava.io.IOException
public void write(int b)
throws java.io.IOException
write in class java.io.OutputStreamjava.io.IOException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||