The Velocity.templateExists(String) method documents that it "determines if a template is accessable via the currently configured resource loaders". However, the implementation appears to check for both ContentResource and Template Resource objects. This is exatly what I need for my current use case, but from the documentation and method signature I couldn't tell that the method provided such lovely fluff. I would've just patched the JavaDoc in CVS, but I'm thinking that it might be better to deprecate the method in favor of a better-named resourceExists(String) version. Comments?
- Dan p.s. I promise not to flog the author. ;-) -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
