org.crsh.text.renderers
Class LogRecordRenderer

java.lang.Object
  extended by org.crsh.text.Renderer<LogRecord>
      extended by org.crsh.text.renderers.LogRecordRenderer

public class LogRecordRenderer
extends Renderer<LogRecord>

A renderer for LogRecord objects based on the SimpleFormatter formatter.

Author:
Julien Viet

Field Summary
 
Fields inherited from class org.crsh.text.Renderer
ANY
 
Constructor Summary
LogRecordRenderer()
           
 
Method Summary
 Class<LogRecord> getType()
           
 LineRenderer renderer(Iterator<LogRecord> stream)
           
 
Methods inherited from class org.crsh.text.Renderer
getRenderable
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LogRecordRenderer

public LogRecordRenderer()
Method Detail

getType

public Class<LogRecord> getType()
Specified by:
getType in class Renderer<LogRecord>

renderer

public LineRenderer renderer(Iterator<LogRecord> stream)
Specified by:
renderer in class Renderer<LogRecord>


Copyright © 2015 eXo Platform SAS. All Rights Reserved.