> > > From: "Tomasz Pik" <[EMAIL PROTECTED]> > > > > -------- Original Message -------- > > > > > Java 1.4 has a new regex package, and there are others > > that could be >> > > > considered if a reliance on 1.4 is to be avoided. >> > > >> > > Maybe something like 'Commons Logging' - one hat (with limited >> > > funcionality) for most of the regexp packages >> > > (http://regex.info/java.html)? > > > > >> > > Regards >> > > Tomek Pik
Have you found a need for this? If so, have you got some code that would provide a starting point? While we're floating implementation-abstraction packages, I've recently put together a very light weight package to abstract the api of a templating system from the implementation. I have implementations for Velocity and Jelly so far. I'd share if people are interested. So far I'm getting by with basically two versions of one API method: public String mergeTemplate(String templateName, Map context) and public void mergeTemplate(String templateName, Map context, Writer writer) It uses Commons Discovery for configuration. It works for me. But then, my needs are pretty simple. Joe -- -- * Joe Germuska { [EMAIL PROTECTED] } "It's pitiful, sometimes, if they've got it bad. Their eyes get glazed, they go white, their hands tremble.... As I watch them I often feel that a dope peddler is a gentleman compared with the man who sells records." --Sam Goody, 1956 -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>