Enrique Zamudio
841a2eda18
use character encoding (thanks @dhinckle2)
2012-11-30 11:39:02 -06:00
Enrique Zamudio
e4194eb4d1
update version
2012-11-30 11:11:50 -06:00
Enrique Zamudio
97b76f5083
add more ignored dirs/files
2012-11-30 11:11:50 -06:00
Enrique Zamudio
625c7a49bb
Add a link to (nonexistent) simpleparser page
2012-11-30 11:11:50 -06:00
Enrique Zamudio
4e6770ba51
fix typo
2012-11-30 11:11:49 -06:00
Enrique Zamudio
53e897e725
Merge pull request #2 from seanjburns/master
...
Allow the Factory to create other implementations of IsoMessage
2012-11-30 09:09:26 -08: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
Enrique Zamudio
037af96880
IntelliJ IDEA project file
2012-06-20 02:39:11 -05:00
Enrique Zamudio
73e436c60e
Ignore .gradle and build directories
2012-06-18 18:58:08 -05:00
Enrique Zamudio
8a18d4d7b4
Add readme file
2012-06-18 18:55:32 -05:00
chochos
be0659179e
Version 1.5.6
...
git-svn-id: https://j8583.svn.sourceforge.net/svnroot/j8583/j8583@109 db60a039-f72e-0410-b1d2-baa000846441
2012-06-14 18:27:09 +00: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
4856c90632
assert > Assert.assertEquals
...
git-svn-id: https://j8583.svn.sourceforge.net/svnroot/j8583/j8583@106 db60a039-f72e-0410-b1d2-baa000846441
2012-06-14 18:21:45 +00:00
chochos
f968d443b7
Tests to make sure only the specified exceptions get thrown when parsing invalid messages
...
git-svn-id: https://j8583.svn.sourceforge.net/svnroot/j8583/j8583@105 db60a039-f72e-0410-b1d2-baa000846441
2012-06-14 18:21:04 +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
ee18bd78e6
Update to changes in Gradle 1.0m8
...
git-svn-id: https://j8583.svn.sourceforge.net/svnroot/j8583/j8583@102 db60a039-f72e-0410-b1d2-baa000846441
2012-02-14 15:48:05 +00:00
chochos
87621bf645
Upgrade SLF4J version and jUnit version
...
git-svn-id: https://j8583.svn.sourceforge.net/svnroot/j8583/j8583@101 db60a039-f72e-0410-b1d2-baa000846441
2012-01-06 19:41:18 +00:00
chochos
40d5f38555
I only use the Maven POM to generate the site now. Building and even publishing to Maven Central is done from Gradle.
...
git-svn-id: https://j8583.svn.sourceforge.net/svnroot/j8583/j8583@100 db60a039-f72e-0410-b1d2-baa000846441
2011-10-11 16:10:37 +00:00
chochos
704955980d
Updated docs to reflect the changes in 1.5.4
...
git-svn-id: https://j8583.svn.sourceforge.net/svnroot/j8583/j8583@99 db60a039-f72e-0410-b1d2-baa000846441
2011-10-11 16:10:09 +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
abe3d9cace
The Gradle script just got a little bit simpler with the signing plugin included in 1.0m4
...
git-svn-id: https://j8583.svn.sourceforge.net/svnroot/j8583/j8583@94 db60a039-f72e-0410-b1d2-baa000846441
2011-08-12 00:33:53 +00:00
chochos
d5df4045d2
Set version to 1.5.3 for release
...
git-svn-id: https://j8583.svn.sourceforge.net/svnroot/j8583/j8583@93 db60a039-f72e-0410-b1d2-baa000846441
2011-08-11 15:40:40 +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
chochos
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.
git-svn-id: https://j8583.svn.sourceforge.net/svnroot/j8583/j8583@91 db60a039-f72e-0410-b1d2-baa000846441
2011-08-11 15:27:49 +00:00
chochos
70dd878e8c
Add apply methods to IsoType enum for Scala interop
...
git-svn-id: https://j8583.svn.sourceforge.net/svnroot/j8583/j8583@90 db60a039-f72e-0410-b1d2-baa000846441
2011-08-09 01:47:04 +00:00
chochos
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())
...
git-svn-id: https://j8583.svn.sourceforge.net/svnroot/j8583/j8583@89 db60a039-f72e-0410-b1d2-baa000846441
2011-08-09 01:42:16 +00:00
chochos
a0c22719bd
Set millis to 0 when parsing DATE4 fields. Fix UT for date4 parsing
...
git-svn-id: https://j8583.svn.sourceforge.net/svnroot/j8583/j8583@88 db60a039-f72e-0410-b1d2-baa000846441
2011-07-23 04:28:00 +00:00
chochos
da7e788614
Set milliseconds to 0 in the parsed date
...
git-svn-id: https://j8583.svn.sourceforge.net/svnroot/j8583/j8583@87 db60a039-f72e-0410-b1d2-baa000846441
2011-07-23 04:13:15 +00:00
chochos
acb44091f9
This build script can now upload to Sonatype. Gradle RULES.
...
git-svn-id: https://j8583.svn.sourceforge.net/svnroot/j8583/j8583@86 db60a039-f72e-0410-b1d2-baa000846441
2011-07-13 17:19:03 +00:00
chochos
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.
...
git-svn-id: https://j8583.svn.sourceforge.net/svnroot/j8583/j8583@85 db60a039-f72e-0410-b1d2-baa000846441
2011-07-13 16:33:37 +00:00
chochos
725d52ec4e
slf4j-simple is really only needed at test runtime
...
git-svn-id: https://j8583.svn.sourceforge.net/svnroot/j8583/j8583@84 db60a039-f72e-0410-b1d2-baa000846441
2011-06-23 22:55:48 +00:00
chochos
8b5201e0fe
[maven-release-plugin] prepare release j8583-1.5.1
...
git-svn-id: https://j8583.svn.sourceforge.net/svnroot/j8583/j8583@83 db60a039-f72e-0410-b1d2-baa000846441
2011-06-15 16:33:54 +00:00
chochos
495fb14114
again...
...
git-svn-id: https://j8583.svn.sourceforge.net/svnroot/j8583/j8583@82 db60a039-f72e-0410-b1d2-baa000846441
2011-06-15 16:32:30 +00:00
chochos
a62518b9fe
[maven-release-plugin] prepare release j8583-1.5.1
...
git-svn-id: https://j8583.svn.sourceforge.net/svnroot/j8583/j8583@80 db60a039-f72e-0410-b1d2-baa000846441
2011-06-15 16:28:32 +00:00
chochos
452296f411
again with the SNAPSHOT...
...
git-svn-id: https://j8583.svn.sourceforge.net/svnroot/j8583/j8583@79 db60a039-f72e-0410-b1d2-baa000846441
2011-06-15 16:26:42 +00:00
chochos
fe879579b5
[maven-release-plugin] prepare release j8583-1.5.1
...
git-svn-id: https://j8583.svn.sourceforge.net/svnroot/j8583/j8583@78 db60a039-f72e-0410-b1d2-baa000846441
2011-06-15 16:23:39 +00:00
chochos
e06a10c5e4
Set the version to 1.5.1-SNAPSHOT for release into Sonatype. Add a Gradle build script
...
git-svn-id: https://j8583.svn.sourceforge.net/svnroot/j8583/j8583@77 db60a039-f72e-0410-b1d2-baa000846441
2011-06-15 16:21:34 +00:00
chochos
dd50d4b8a3
Add a new method to test templating
...
git-svn-id: https://j8583.svn.sourceforge.net/svnroot/j8583/j8583@76 db60a039-f72e-0410-b1d2-baa000846441
2011-06-14 18:14:43 +00:00
chochos
f39701ec59
Fix version number
...
git-svn-id: https://j8583.svn.sourceforge.net/svnroot/j8583/j8583@75 db60a039-f72e-0410-b1d2-baa000846441
2011-05-20 18:55:15 +00:00
chochos
3f6e148954
Add missing parameter to CustomField documentation example
...
git-svn-id: https://j8583.svn.sourceforge.net/svnroot/j8583/j8583@74 db60a039-f72e-0410-b1d2-baa000846441
2011-05-20 18:38:47 +00:00
chochos
13a04b271a
Add documentation for the problem with CustomField encoders for mutable value objects, since we can't really do anything about it.
...
git-svn-id: https://j8583.svn.sourceforge.net/svnroot/j8583/j8583@73 db60a039-f72e-0410-b1d2-baa000846441
2011-05-20 16:39:31 +00:00
chochos
a8c2aecd3e
Validate that there is indeed a field to set the encoding to, in the IsoMessage. Update version to 1.5.1
...
git-svn-id: https://j8583.svn.sourceforge.net/svnroot/j8583/j8583@72 db60a039-f72e-0410-b1d2-baa000846441
2011-04-08 16:21:58 +00:00
chochos
77cec55ccf
Upgraded to 1.5.0
...
git-svn-id: https://j8583.svn.sourceforge.net/svnroot/j8583/j8583@71 db60a039-f72e-0410-b1d2-baa000846441
2011-03-22 01:01:33 +00:00
chochos
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.
...
Several methods now have an additional encoding parameter (just a String, not directly a Charset), but the default is always the JVM's default encoding (taken from the property 'file.encoding').
git-svn-id: https://j8583.svn.sourceforge.net/svnroot/j8583/j8583@70 db60a039-f72e-0410-b1d2-baa000846441
2011-03-21 23:22:58 +00:00