com.trackstudio.tools.formatter
Class TableFormatter

java.lang.Object
  extended by com.trackstudio.tools.formatter.TableFormatter
All Implemented Interfaces:
freemarker.template.TemplateModel, freemarker.template.TemplateTransformModel

public class TableFormatter
extends java.lang.Object
implements freemarker.template.TemplateTransformModel

Класс для форматирования таблиц


Field Summary
static TableFormatter INSTANCE
          Экземпляр текущего класса
 
Fields inherited from interface freemarker.template.TemplateModel
NOTHING
 
Constructor Summary
TableFormatter()
          Конструктор
 
Method Summary
 java.io.Writer getWriter(java.io.Writer out, java.util.Map args)
          Возвращает вывод
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INSTANCE

public static final TableFormatter INSTANCE
Экземпляр текущего класса

Constructor Detail

TableFormatter

public TableFormatter()
Конструктор

Method Detail

getWriter

public java.io.Writer getWriter(java.io.Writer out,
                                java.util.Map args)
                         throws freemarker.template.TemplateModelException
Возвращает вывод

Specified by:
getWriter in interface freemarker.template.TemplateTransformModel
Parameters:
out - Вывод
args - аргументы
Returns:
вывод
Throws:
freemarker.template.TemplateModelException - при необходимости


Copyright © 2002-2009 TrackStudio, Ltd. All Rights Reserved.