org.crsh.io
Interface Pipe<C>

Type Parameters:
C - the element generic type
All Superinterfaces:
Flushable
All Known Subinterfaces:
CommandInvoker<C,P>, Consumer<C>, Filter<C,P>, InvocationContext<P>, IOContext<E>, ProducerContext<P>, ShellProcessContext, Term
All Known Implementing Classes:
ChunkAdapter, ChunkBuffer, ClientProcessContext, ConsoleTerm, GroovyScriptCommand, InnerInvocationContext, InvocationContextImpl, InvokerPipeFilter, JLineProcessContext, PipeCommandProxy, PipeLine, ProcessContext, ProcessInvocationContext, Processor, RenderAppendable, RenderWriter, SinkPipeFilter, ToChunkPipeFilter

public interface Pipe<C>
extends Flushable

Defines the interface for a pipe.


Method Summary
 void provide(C element)
          Provide an element.
 
Methods inherited from interface java.io.Flushable
flush
 

Method Detail

provide

void provide(C element)
             throws IOException
Provide an element.

Parameters:
element - the provided element
Throws:
IOException


Copyright © 2012 eXo Platform SAS. All Rights Reserved.