The regular expression / JavaBeans Mapper Java.
By linking to the JavaBeans property the regular expression group, and automatically expand to JavaBeans result of a match.
In addition, even if the regular expression is assigned to the JavaBeans property, you can expand the result in a chain reaction.
This, I will auto-mapping to JavaBeans that contains the String type and list of JavaBeans (such as SQL and HTML, for example) structured text with a complex structure.
For example, by the combined use of various O / R mapper process as "Data storage in the HTML Scraping → DB" is realized by lines.
In addition, in order to cache the compiled regular expression internally, I was more than pleased with the speed.
・Common-Toolsのプラグイン機構導入に合わせて、JAutoRegexer側でもキャッシュ機構などのロジックをプラグイン対応化しました
・キャッシュマネージャとして、今までのリリースではJVM内にインメモリで正規表現パターンなどをキャッシュしておりましたが
プラグインとしてMemcachedを使用できるようになりました。
<対象ユースケース>
・JAutoRegexerが稼働するアプリケーションサーバのJVMに余計な負荷をかけたくない場合
・アプリがダウンした場合でも、キャッシュデータは残しておきたい
Memcachedプラグインを用いることによって、JAutoRegexer内でのキャッシュヒットが効率化されるため
おおむね(単体テストレベルでの計測ですが)1.2~1.6倍程、処理が高速化されることを確認しています。
多数の正規表現を用いて、多くのマッピング処理を行う用途などにご利用ください。
・単体テストを加筆いたしました。
ロジックプラグイン化に伴って、関連する処理を部品化することができたため、その分の単体テストケースを追加しました。
現在の網羅率は75%といったところです。
!!!現在(過去も含めてですが)このバージョンは安定版ではありません。
ご使用の際には自己責任でお願いいたします。