br.com.caelum.stella.boleto.transformer
Class BoletoTransformer
java.lang.Object
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
BoletoTransformer
public BoletoTransformer(BoletoWriter writer)
transform
public InputStream transform(Boleto boleto)
- Gera o boleto em memoria e aloca-o em um InputStream.
- Parameters:
boleto -
Copyright © 2008 Caelum. All Rights Reserved.