getinline: file processing DSL (java)
Romily Cocking wrote this “getinline” DSL for file processing. Get it from sourceforge. Here’s an example of it in use:
new Source().
fromFile("docs/sample-data/flights3.txt").
upToTheEnd().
counting(allRecords).
withoutBlankLines().
counting(nonBlankRecords).
allowing(Processing.rule().
accepting(1).
including(terminalRecordPattern).
populatingList(
terminals,
terminalFactory,
regexParser),
Processing.rule().
including(detailRecordPattern).
populatingList(
flights,
flightFactory,
commaDelimitedParser))
.read();
April 13th, 2010 at 9:03 am
Nous fournissons wow po et wow power leveling pour les années.
May 6th, 2010 at 4:59 am
good job,guy,it’s kind of u share this post with us which give useful information to us.God Job!I do hope u can publish more posts later.buy the way ,if you wanna buy cheap brand shoes online,you may visit our shoes store,i am sure you will find what u like.