org.jmonit.reporting
Class AbstractRenderer

java.lang.Object
  extended by org.jmonit.reporting.AbstractRenderer
All Implemented Interfaces:
Renderer

public abstract class AbstractRenderer
extends java.lang.Object
implements Renderer

Author:
Nicolas De Loof

Field Summary
protected  java.text.NumberFormat number
           
protected  java.io.PrintWriter writer
           
 
Constructor Summary
AbstractRenderer(java.io.PrintWriter writer)
           
 
Method Summary
protected abstract  java.lang.String getPrefix(java.lang.String string)
           
protected abstract  java.lang.String getSuffix(boolean last)
           
 void setLocale(java.util.Locale locale)
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.jmonit.reporting.Renderer
createNew, render
 

Field Detail

writer

protected java.io.PrintWriter writer

number

protected java.text.NumberFormat number
Constructor Detail

AbstractRenderer

public AbstractRenderer(java.io.PrintWriter writer)
Method Detail

getPrefix

protected abstract java.lang.String getPrefix(java.lang.String string)

getSuffix

protected abstract java.lang.String getSuffix(boolean last)

setLocale

public void setLocale(java.util.Locale locale)

Specified by:
setLocale in interface Renderer
See Also:
Renderer.setLocale(java.util.Locale)


Copyright © 2007 Nicolas De Loof. All Rights Reserved.