fixedformat4j
fixedformat4j copied to clipboard
Fixedformat4j is an easy to use Java framework for working with flat fixed formatted text files. By annotating your code you can setup the offsets and format as for your data when reading/writing to a...
Add localdate formater
The spaces are being trimmed after the ```manager.load``` method parses the fixed formatted data. In my case, if the string contains only SPACES `" "`, it returns an empty String...
Hey! I implemented this because I am using fixedformat4j in a project. If you are interested, it would be nice to get it merged upstream. Looking forward for your comments...
I see that there are newer version than 1.2.2 are (maven) released but I don't see those artifacts pushed to Maven Central. I would like to pull from Maven Central...
@Field(offset = 635, length = 5, align = Align.RIGHT, paddingChar = '0') @FixedFormatDecimal(decimals = 2, decimalDelimiter = '.', useDecimalDelimiter = false) @FixedFormatNumber(sign = Sign.NOSIGN) The project I am currently working...
``` What steps will reproduce the problem? 1. Load a record with a numeric field and an empty string to read. 2. Export the same record 3. Compare the two...
``` When method.invoke() in FixedFormatManagerImpl.exportDataAccordingFieldAnnotation returns null it bombs out with NullPointerException when it tries to follow referenced annotated instances. ``` Original issue reported on code.google.com by `[email protected]` on 13...
com.ancientprogramming.fixedformat4j.exception.FixedFormatException: com.ancientprogramming.fixedformat4j.format.impl.ByTypeFormatter cannot handle datatype[com.foo.exampleRecord]. Provide your own custom FixedFormatter for this datatype.
Method: protected String getStringToConvert(String string, FormatInstructions instructions); Conditions: Zero padding + Right Aligned (causes input string to be truncated to a length shorter than decimals format instructions). Then getStringToConvert gets...