当前页面:
在线文档首页 >
NetBeans API Javadoc (Current Development Version)
TermStream (Terminal Emulator) - NetBeans API Javadoc (Current Development Version)
org.netbeans.lib.terminalemulator
Class TermStream
java.lang.Object
org.netbeans.lib.terminalemulator.TermStream
- Direct Known Subclasses:
- LineDiscipline, NullTermStream
public abstract class TermStream
- extends Object
TermStream is analogous to unix STREAMS.
It is a full duplex processing and data transfer path between a raw
Term (The Data Terminal Equipment, DTE) and a client of the Term, usually
a process (The Data Communication Equipment, DCE).
TermStream's can be chained together. This is performed using
- See Also:
Streams are usually used (in the context of terminals) to do echoing,
line buffering, CR/NL translation and so on. See
,
.
They can also be used for logging and debugging.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
toDTE
protected TermStream toDTE
toDCE
protected TermStream toDCE
TermStream
public TermStream()
getTerm
protected Term getTerm()
flush
public abstract void flush()
putChar
public abstract void putChar(char c)
putChars
public abstract void putChars(char[] buf,
int offset,
int count)
sendChar
public abstract void sendChar(char c)
sendChars
public abstract void sendChars(char[] c,
int offset,
int count)