org.crsh.io
Interface IOContext<E>

All Superinterfaces:
Flushable, Pipe<E>
All Known Subinterfaces:
Filter<C,P>, InvocationContext<P>, ProducerContext<P>, ShellProcessContext
All Known Implementing Classes:
ChunkAdapter, ClientProcessContext, InnerInvocationContext, InvocationContextImpl, InvokerPipeFilter, JLineProcessContext, ProcessContext, ProcessInvocationContext, RenderAppendable, RenderWriter, SinkPipeFilter, ToChunkPipeFilter

public interface IOContext<E>
extends Pipe<E>

The io context extends the pipe.


Method Summary
 int getHeight()
          Returns the term height in chars.
 int getWidth()
          Returns the term width in chars.
 
Methods inherited from interface org.crsh.io.Pipe
provide
 
Methods inherited from interface java.io.Flushable
flush
 

Method Detail

getWidth

int getWidth()
Returns the term width in chars. When the value is not positive it means the value could not be determined.

Returns:
the term width

getHeight

int getHeight()
Returns the term height in chars. When the value is not positive it means the value could not be determined.

Returns:
the term height


Copyright © 2012 eXo Platform SAS. All Rights Reserved.