org.crsh.io
Interface Pipe<E>

Type Parameters:
E - the element generic type
All Superinterfaces:
Flushable
All Known Subinterfaces:
CommandInvoker<C,P>, Consumer<C>, Filter<C,P>, InteractionContext<E>, InvocationContext<P>, ProducerConsumer<C,P>, ProducerContext<P>, ScreenContext<E>, 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<E>
extends Flushable

Defines the interface for a pipe.


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

Method Detail

provide

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

Parameters:
element - the provided element
Throws:
IOException


Copyright © 2013 eXo Platform SAS. All Rights Reserved.