org.crsh
Interface Pipe<E>

Type Parameters:
E - the element generic type
All Superinterfaces:
Flushable
All Known Subinterfaces:
InteractionContext<E>, InvocationContext<P>, RenderingContext, ShellProcessContext, Term
All Known Implementing Classes:
ChunkAdapter, ChunkBuffer, ClientProcessContext, ConsoleTerm, CRaSHInvocationContext, InnerInvocationContext, JLineProcessContext, PipeCommand, PipeCommandProxy, PipeLine.PipeProxy, ProcessContext, Processor, RenderAppendable, RenderWriter

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 © 2012 eXo Platform SAS. All Rights Reserved.