|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.twdata.kokua.StreamSplitter
public class StreamSplitter
Description of the Class
| Constructor Summary | |
|---|---|
StreamSplitter()
Constructor for the StreamSplitter object |
|
| Method Summary | |
|---|---|
void |
addStreamListener(StreamListener listener,
boolean filtered)
|
StreamFilter |
getFilterSource()
Gets the filterSource attribute of the Terminal object |
void |
notifyStreamListeners(byte[] buffer)
Notifies stream listeners of write |
void |
notifyStreamListeners(byte[] buffer,
int len,
boolean isWrite)
|
int |
read(byte[] b)
Description of the Method |
void |
removeStreamListener(StreamListener listener,
boolean filtered)
|
void |
setFilterSource(StreamFilter source)
Sets the filterSource attribute of the StreamSplitter object |
int |
stripAnsi(byte[] b,
byte[] c,
int amount)
Description of the Method |
void |
write(byte[] b)
Description of the Method |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StreamSplitter()
bus - Description of the Parameterid - Description of the Parameter| Method Detail |
|---|
public void notifyStreamListeners(byte[] buffer)
public void notifyStreamListeners(byte[] buffer,
int len,
boolean isWrite)
public void addStreamListener(StreamListener listener,
boolean filtered)
public void removeStreamListener(StreamListener listener,
boolean filtered)
public void setFilterSource(StreamFilter source)
setFilterSource in interface StreamFiltersource - The new filterSource valuepublic StreamFilter getFilterSource()
getFilterSource in interface StreamFilter
public int read(byte[] b)
throws java.io.IOException
read in interface StreamFilterb - Description of the Parameter
java.io.IOException - Description of the Exception
public int stripAnsi(byte[] b,
byte[] c,
int amount)
b - Description of the Parameterc - Description of the Parameteramount - Description of the Parameter
public void write(byte[] b)
throws java.io.IOException
write in interface StreamFilterb - Description of the Parameter
java.io.IOException - Description of the Exception
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||