So I went ahead and finished the Java client. After much thought, I came to the conclusion that it would be easiest to start from scratch. I think it turned out good. Its less than 250 lines of code, has pretty good performance (~1ms classifications), and no dependencies on external libs.
I checked it in here: http://svn.apache.org/viewvc/incubator/devicemap/trunk/devicemapjava/ It basically just indexes all the pattern variations into a hash and then searches for them. I took some liberties when it came to non alphanumeric matching and I stripped out all the regular expressions. Its about 90% done, I just got to refactor a few minor things, add an option to load the DDR data from jar, comments, and add some proper tests. Here is some code which uses the client: http://svn.apache.org/viewvc/incubator/devicemap/trunk/devicemapjava/src/main/java/Main.java?view=markup Let me know what you think. Reza
