Re: [Geoserver-devel] Listing contents of a ResourceStore

2014-10-29 Thread Jody Garnett
surprise! Jody Garnett On Wed, Oct 29, 2014 at 2:00 AM, Andrea Aime wrote: > On Tue, Oct 28, 2014 at 5:19 PM, Jody Garnett > wrote: > >> I think I documented that let me find a link ... >> >> Paths.BASE is a static constant (of the empty string) which can be used >> to access the base of the d

Re: [Geoserver-devel] Listing contents of a ResourceStore

2014-10-29 Thread Andrea Aime
On Tue, Oct 28, 2014 at 5:19 PM, Jody Garnett wrote: > I think I documented that let me find a link ... > > Paths.BASE is a static constant (of the empty string) which can be used to > access the base of the data directory. > Oh ok. Yep, it's at the end of the javadoc, did not see it. Surprising

Re: [Geoserver-devel] Listing contents of a ResourceStore

2014-10-28 Thread Jody Garnett
I think I documented that let me find a link ... Paths.BASE is a static constant (of the empty string) which can be used to access the base of the data directory. On Oct 28, 2014, at 4:05 AM, Andrea Aime wrote: Hi, looking at the current ResourceStore code, I don't see a way to just list the

[Geoserver-devel] Listing contents of a ResourceStore

2014-10-28 Thread Andrea Aime
Hi, looking at the current ResourceStore code, I don't see a way to just list the top level contents of the store, it seems one needs to know what resources to look for, and then it can go from there using the Resource own list method. Shall we add a "root()" method returning the root of the resou