java.lang.Object
java.io.OutputStream
Freenet.support.Splitter
- All Implemented Interfaces:
- java.lang.Runnable
- public class Splitter
- extends java.io.OutputStream
- implements java.lang.Runnable
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
outputs
private java.util.Vector outputs
writers
private java.util.Vector writers
source
java.io.InputStream source
Splitter
public Splitter()
Splitter
public Splitter(java.io.InputStream in)
split
public void split()
run
public void run()
- Description copied from interface:
java.lang.Runnable
- This method will be called by whoever wishes to run your class
implementing Runnable. Note that there are no restrictions on what
you are allowed to do in the run method, except that you cannot
throw a checked exception.
- Specified by:
run in interface java.lang.Runnable
addoutput
public void addoutput(java.io.OutputStream out)
addwriter
public void addwriter(java.io.Writer w)
write
public void write(int c)
- Description copied from class:
java.io.OutputStream
- This method writes a single byte to the output stream. The byte written
is the low eight bits of the
int passed and a argument.
Subclasses must provide an implementation of this abstract method