f968d443b7
Tests to make sure only the specified exceptions get thrown when parsing invalid messages
chochos2012-06-14 18:21:04 +00:00
67c5522e92
Simplify creation of return value
chochos2012-05-18 15:29:44 +00:00
da6bb2bb23
Doc says if field is missing ignore it, but it was being removed from destination message.
chochos2012-05-18 15:28:06 +00:00
ee18bd78e6
Update to changes in Gradle 1.0m8
chochos2012-02-14 15:48:05 +00:00
87621bf645
Upgrade SLF4J version and jUnit version
chochos2012-01-06 19:41:18 +00:00
40d5f38555
I only use the Maven POM to generate the site now. Building and even publishing to Maven Central is done from Gradle.
chochos2011-10-11 16:10:37 +00:00
704955980d
Updated docs to reflect the changes in 1.5.4
chochos2011-10-11 16:10:09 +00:00
f2677b8c96
Added @SuppressWarnings(rawtypes) where I was previously using only unchecked
chochos2011-09-26 20:49:29 +00:00
56445e8f33
Add generics in a couple of places where they were missing, as well as a @SuppressWarnings
chochos2011-09-26 20:48:33 +00:00
8c4d1cc48c
Several methods for setting values in an IsoMessage now return the message itself instead of void. This is useful for chaining several method calls and setting several fields in sequence. Also there is a new method setFields which receives a Map; it can be useful in languages with syntax for easily creating maps.
chochos2011-09-21 22:31:28 +00:00
791081dd1c
Changed to DTD to make all 3 top elements optional, and also to allow for empty templates. ConfigParser now uses the internal j8583.dtd if available in the classpath.
chochos2011-09-21 22:17:05 +00:00
abe3d9cace
The Gradle script just got a little bit simpler with the signing plugin included in 1.0m4
chochos2011-08-12 00:33:53 +00:00
d5df4045d2
Set version to 1.5.3 for release
chochos2011-08-11 15:40:40 +00:00
13e60ee567
Finish improvement of generics usage, modifiying a couple of methods in MessageFactory (for accessing CustomField encoders) and ConfigParser (for using said CustomFields)
chochos2011-08-11 15:35:42 +00:00
9f5a7d59af
Improved the generics usage in methods returning IsoValues (and getObjectValue() as well). Now you can do stuff like this: IsoValue<Date> v = message.getField(7); BigDecimal amount = message.getObjectValue(4); No need to cast. Having generified IsoValue is now useful.
chochos2011-08-11 15:27:49 +00:00
70dd878e8c
Add apply methods to IsoType enum for Scala interop
chochos2011-08-09 01:47:04 +00:00
7efa01f459
IsoMessage has some Scala interop, you can use from Scala stuff like m(4) to get IsoValue at field 4, and also set it m(4)=IsoValue.DATE10.call(new Date())
chochos2011-08-09 01:42:16 +00:00
a0c22719bd
Set millis to 0 when parsing DATE4 fields. Fix UT for date4 parsing
chochos2011-07-23 04:28:00 +00:00
da7e788614
Set milliseconds to 0 in the parsed date
chochos2011-07-23 04:13:15 +00:00
acb44091f9
This build script can now upload to Sonatype. Gradle RULES.
chochos2011-07-13 17:19:03 +00:00
a4a21551b3
Added future tolerance to Date10 and Date4 parsers; simplified the use of generics in all the FieldParseInfo subclasses. Added a test for the future tolerance of date parsers.
chochos2011-07-13 16:33:37 +00:00
725d52ec4e
slf4j-simple is really only needed at test runtime
chochos2011-06-23 22:55:48 +00:00
3f6e148954
Add missing parameter to CustomField documentation example
chochos2011-05-20 18:38:47 +00:00
13a04b271a
Add documentation for the problem with CustomField encoders for mutable value objects, since we can't really do anything about it.
chochos2011-05-20 16:39:31 +00:00
a8c2aecd3e
Validate that there is indeed a field to set the encoding to, in the IsoMessage. Update version to 1.5.1
chochos2011-04-08 16:21:58 +00:00
5c4259eba3
Added a new property, characterEncoding, to MessageFactory, IsoMessage, FieldParseInfo and IsoValue. This helps in parsing messages from byte buffers containing extended characters in encodings other than the default for the JVM. Tested with UTF8 on a Mac (which has default Mac OS Roman) and worked fine.
chochos2011-03-21 23:22:58 +00:00
c7d696acc7
Simplified some of the formatting routines in IsoType, using String.format(). Added unit tests to check that the new formatting code works fine.
chochos2011-02-22 02:15:38 +00:00
3efc794f3e
Added LGPL notice to the new classes.
chochos2011-02-21 20:07:41 +00:00
d291d41bbc
FieldParseInfo is now an abstract class, with a concrete subclass for each IsoType. This greatly improves the parsing speed.
chochos2011-02-21 19:53:47 +00:00
3b36a1dfe9
binary message parsing has improved drastically. BINARY, LLBIN and LLLBIN types are correctly encoded and parsed in both ASCII and binary formats.
chochos2010-12-07 19:24:52 +00:00