Commit Graph
70 Commits
Author SHA1 Message Date
Enrique Zamudio 470d492da2 Propagate char encoding and forceStringEncoding after parsing config 2013-06-12 13:16:28 -05:00
Enrique Zamudio a543212d1e debugString uses substrings for bitmap hex chars 2013-06-12 13:10:35 -05:00
Enrique Zamudio 096faeeda0 indexOf -> contains 2013-06-12 13:09:22 -05:00
Enrique Zamudio 406eb91d4b Simplify hex char array creation 2013-06-12 13:08:58 -05:00
Enrique Zamudio 078eeb6ee5 Add debugString() method 2013-06-12 10:42:09 -05:00
Enrique Zamudio 1b38a648f5 Set forceStringEncoding property on new messages 2013-06-12 10:41:50 -05:00
Enrique Zamudio 1ce67c621c Encode text bitmap in EBCDIC with forceStringEncoding=true #13 2013-05-13 23:13:44 -05:00
Enrique Zamudio 2b1f9628bf Parse text bitmap for #13 2013-05-13 20:03:15 -05:00
Enrique Zamudio 2a38ac2491 force radix 10 2013-05-13 19:48:12 -05:00
Enrique Zamudio 63e89e708b add forceStringEncoding property to pass to messages for #13 2013-05-13 19:47:48 -05:00
Enrique Zamudio 11e10bc1eb Implement #13 in these parsers 2013-05-13 19:34:21 -05:00
Enrique Zamudio 2e521c2b6d Implement #13 2013-05-13 18:54:44 -05:00
Enrique Zamudio be54b9f38e Fix #9 - Binary parsing with CustomBinaryField for LLBIN/LLLBIN fields 2013-05-07 15:37:49 -05:00
Enrique Zamudio eb59dcc202 Consider CustomBinaryField codec for LLBIN/LLLBIN ref #9 2013-05-07 15:37:11 -05:00
Enrique Zamudio f29d8f7ff4 Document Bcd methods 2013-05-07 13:45:37 -05:00
Enrique Zamudio e81116d0c6 New interface for custom binary field codecs 2013-05-07 13:45:20 -05:00
Enrique Zamudio 449e321645 Work on #9 - Numeric codecs for LLBIN fields 2013-05-07 13:44:27 -05:00
Enrique Zamudio 4a1f165c0b improve use of generics 2013-05-07 12:30:33 -05:00
Enrique Zamudio b1884c29d1 Seal helper class 2013-05-07 12:30:19 -05:00
Enrique Zamudio 04ba54e522 Work on #9 - group BCD routines in a convenience class 2013-04-23 11:42:39 -05:00
Enrique Zamudio cc5918dd50 Fix #10 - improve use of type parameters instead of suppressing warnings 2013-04-23 11:22:21 -05:00
Enrique Zamudio 0221f8881a suppress unchecked warning 2013-04-23 11:17:13 -05:00
Enrique Zamudio d297625dfa suppress unchecked warning 2013-04-23 11:16:56 -05:00
Enrique Zamudio e91a272f73 Fix #7 - add new setter that only updates existing values 2013-04-23 10:50:32 -05:00
Enrique Zamudio 8dd759f92f Fix #8 - change parsing maps visibility to protected 2013-04-23 10:30:00 -05:00
Enrique Zamudio 6be7738166 Generify call/apply methods 2013-04-15 17:28:22 -05:00
Enrique Zamudio 602974ad82 Fix #6 class loader handling, and make createFromXXX invariant 2013-01-24 17:23:49 -06:00
Enrique Zamudio 0d2e5409b4 Fix parsing of binary messages 2013-01-18 13:31:32 -06:00
Enrique Zamudio 4d02af0a76 Use new HexCodec.hexEncode 2013-01-18 13:31:17 -06:00
Enrique Zamudio 92c6b6d4f9 Change hexEncode to allow encoding of array region 2013-01-18 13:30:31 -06:00
Enrique Zamudio 913d74a133 Fix #5 - Add field number to parse error messages 2013-01-18 13:29:39 -06:00
Enrique Zamudio d570eb4885 Fix parsing of text messages with binary bitmaps - see #4 2013-01-18 12:04:43 -06:00
Enrique Zamudio a3a7b53fa0 write length header directly to ByteBuffer 2013-01-18 12:04:17 -06:00
Enrique Zamudio 2e5911f261 work on #3 - catch IOOBE 2012-12-26 16:02:38 -06:00
Enrique Zamudio 778501b2d6 Work on #3 for ALPHA fields 2012-12-26 15:34:09 -06:00
Enrique Zamudio 980fa02d63 Fix validation of binary number length
https://sourceforge.net/p/j8583/bugs/9/
2012-11-30 12:25:56 -06:00
Enrique Zamudio cf1e5053b1 Handle the encoding of binary bitmaps in text-encoded messages 2012-11-30 11:54:00 -06:00
Enrique Zamudio dfb1bc1b45 Handle binary bitmaps in text-encoded messages (thanks @dhinckle2)
also catch a bug in LLVAR encoding
2012-11-30 11:53:08 -06:00
Enrique Zamudio 841a2eda18 use character encoding (thanks @dhinckle2) 2012-11-30 11:39:02 -06:00
seanjburns 3feb4a7704 Very simple change to allow the factory to create other implementations of IsoMessage 2012-11-27 23:04:59 +02:00
Enrique Zamudio 4f53ddddfe A simple command-line program to parse files based on a configuration file. 2012-06-20 02:39:43 -05:00
chochos 3f0e6a043d Improve parsing of invalid data, throwing more specific messages
git-svn-id: https://j8583.svn.sourceforge.net/svnroot/j8583/j8583@108 db60a039-f72e-0410-b1d2-baa000846441
2012-06-14 18:26:36 +00:00
chochos 839b32c75a Make parsing of invalid messages more robust
git-svn-id: https://j8583.svn.sourceforge.net/svnroot/j8583/j8583@107 db60a039-f72e-0410-b1d2-baa000846441
2012-06-14 18:22:34 +00:00
chochos 67c5522e92 Simplify creation of return value
git-svn-id: https://j8583.svn.sourceforge.net/svnroot/j8583/j8583@104 db60a039-f72e-0410-b1d2-baa000846441
2012-05-18 15:29:44 +00:00
chochos da6bb2bb23 Doc says if field is missing ignore it, but it was being removed from destination message.
git-svn-id: https://j8583.svn.sourceforge.net/svnroot/j8583/j8583@103 db60a039-f72e-0410-b1d2-baa000846441
2012-05-18 15:28:06 +00:00
chochos f2677b8c96 Added @SuppressWarnings(rawtypes) where I was previously using only unchecked
git-svn-id: https://j8583.svn.sourceforge.net/svnroot/j8583/j8583@98 db60a039-f72e-0410-b1d2-baa000846441
2011-09-26 20:49:29 +00:00
chochos 56445e8f33 Add generics in a couple of places where they were missing, as well as a @SuppressWarnings
git-svn-id: https://j8583.svn.sourceforge.net/svnroot/j8583/j8583@97 db60a039-f72e-0410-b1d2-baa000846441
2011-09-26 20:48:33 +00:00
chochos 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.


git-svn-id: https://j8583.svn.sourceforge.net/svnroot/j8583/j8583@96 db60a039-f72e-0410-b1d2-baa000846441
2011-09-21 22:31:28 +00:00
chochos 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.


git-svn-id: https://j8583.svn.sourceforge.net/svnroot/j8583/j8583@95 db60a039-f72e-0410-b1d2-baa000846441
2011-09-21 22:17:05 +00:00
chochos 13e60ee567 Finish improvement of generics usage, modifiying a couple of methods in MessageFactory (for accessing CustomField encoders) and ConfigParser (for using said CustomFields)
git-svn-id: https://j8583.svn.sourceforge.net/svnroot/j8583/j8583@92 db60a039-f72e-0410-b1d2-baa000846441
2011-08-11 15:35:42 +00:00