|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.crsh.command.PipeCommand
org.crsh.shell.impl.command.PipeLine.PipeProxy
private static class PipeLine.PipeProxy
| Field Summary | |
|---|---|
private PipeCommand |
command
. |
private ShellProcessContext |
context
. |
private Pipe |
next
. |
private PipeLine |
pipeLine
. |
private CRaSHSession |
session
. |
| Constructor Summary | |
|---|---|
private |
PipeLine.PipeProxy(CRaSHSession session,
ShellProcessContext context,
PipeLine pipeLine)
|
| Method Summary | |
|---|---|
void |
close()
Close pipe. |
void |
flush()
Flush pipe. |
void |
open()
Open pipe. |
void |
provide(Object 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 CRaSHSession session
private final ShellProcessContext context
private final PipeLine pipeLine
private Pipe next
private PipeCommand command
| Constructor Detail |
|---|
private PipeLine.PipeProxy(CRaSHSession session,
ShellProcessContext context,
PipeLine pipeLine)
| Method Detail |
|---|
public void open()
throws ScriptException
PipeCommand
open in class PipeCommandScriptException
public void provide(Object element)
throws IOException
PipeCommandPipe.provide(Object) method.
provide in interface Pipeprovide in class PipeCommandelement - the provided element
IOException - any io exception
public void flush()
throws IOException
PipeCommand
flush in interface Flushableflush in class PipeCommandIOException - any io exception
public void close()
throws ScriptException
PipeCommand
close in class PipeCommandScriptException - any script exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||