I'm using Bean IO to parse/write some fixed length files, and I want to set the padding character used by a field.
The Bean IO docs mention a padding
character that can be used to do this:
However, while the docs and examples refer to it as a "character" and use it as such, on the actual @Field
annotation it's an int
:
- .html#padding()
I cannot find an explanation for this discrepancy, and I'm wondering if anyone can fill me in on what I'm missing here. Or, more importantly, how I pad with a character using the annotation-based implementation.