br.com.caelum.stella.boleto.transformer
Class BoletoTransformer

java.lang.Object
  extended by br.com.caelum.stella.boleto.transformer.BoletoTransformer

public class BoletoTransformer
extends Object

Classe responsável por escrever os dados de um Boleto em um Writer. Um Writer, como é uma interface, pode acabar escrevendo em um PNG, JPG, PDF, HTML ou mesmo TXT, de acordo com sua implementação

Author:
Paulo Silveira

Field Summary
static double BOLETO_TEMPLATE_SCALE
           
static float IMAGEM_BOLETO_HEIGHT
           
static float IMAGEM_BOLETO_WIDTH
           
 
Constructor Summary
BoletoTransformer(BoletoWriter writer)
           
 
Method Summary
 InputStream transform(Boleto... boletos)
          Gera o boleto em memoria e aloca-o em um InputStream.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

IMAGEM_BOLETO_WIDTH

public static final float IMAGEM_BOLETO_WIDTH
See Also:
Constant Field Values

IMAGEM_BOLETO_HEIGHT

public static final float IMAGEM_BOLETO_HEIGHT
See Also:
Constant Field Values

BOLETO_TEMPLATE_SCALE

public static final double BOLETO_TEMPLATE_SCALE
See Also:
Constant Field Values
Constructor Detail

BoletoTransformer

public BoletoTransformer(BoletoWriter writer)
Method Detail

transform

public InputStream transform(Boleto... boletos)
Gera o boleto em memoria e aloca-o em um InputStream.

Parameters:
boleto -


Copyright © 2009 Caelum. All Rights Reserved.