|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.crsh.command.PipeCommand<E>
E - the element generic typepublic abstract class PipeCommand<E>
A pipe command.
| Field Summary | |
|---|---|
private boolean |
piped
. |
| Constructor Summary | |
|---|---|
PipeCommand()
|
|
| Method Summary | |
|---|---|
void |
close()
Close pipe. |
void |
flush()
Flush pipe. |
boolean |
isPiped()
|
void |
open()
Open pipe. |
void |
provide(E element)
Extends the throw clause of the Pipe.provide(Object) method. |
void |
setPiped(boolean piped)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private boolean piped
| Constructor Detail |
|---|
public PipeCommand()
| Method Detail |
|---|
public final boolean isPiped()
public final void setPiped(boolean piped)
public void open()
throws ScriptException
ScriptException
public void provide(E element)
throws ScriptException,
IOException
Pipe.provide(Object) method.
provide in interface Pipe<E>element - the provided element
ScriptException - any script exception
IOException - any io exception
public void flush()
throws ScriptException,
IOException
flush in interface FlushableScriptException - any script exception
IOException - any io exception
public void close()
throws ScriptException
ScriptException - any script exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||