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