Pregunta

I use Camel Bindy and @FixedLengthRecord strategy .

I have a field :

@DataField(pos=21, length=6, trim=true,align="R")
private BigDecimal refundCount

and I want leading this field zeros. What can I do to achieve this ?

¿Fue útil?

Solución

Have you tried setting paddingChar='0'

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top