On Feb 11, 2008 8:26 AM, Felix Meschberger <[EMAIL PROTECTED]> wrote:
> ...That is you create a JavaScript-only > Resource.listChildren() method. The problem with this is, that migrating > such code to e.g. Java or trying to create similar code in other > languages will create tons of issues.... Agreed (well, maybe not "tons" but I see your point ;-) > ...I would > like to propose these changes to the Resource interface: > > > Add Methods: > Iterator<Resource> listChildren(); // equivalent to > getResourceResolver().listChildren() > ResourceResolver getResourceResolver(); ok > Remove Method: > ResourceProvider getResourceProvider(); // replaced by > getResourceResolver()... ok. I''ll be mostly offline this week, so feel free to go ahead and make changes. -Bertrand
