/** * Internal implementation of getResourcesPath() logic. * * @param resources Directory context to search * @param path Collection path */ private Set<String> getResourcePathsInternal(DirContext resources, String path) { ResourceSet<String> set = new ResourceSet<String>(); try { listCollectionPaths(set, resources, path); } catch (NamingException e) { return (null); } set.setLocked(true); return (set); }
/** * Internal implementation of getResourcesPath() logic. * * @param resources Directory context to search * @param path Collection path */ private Set getResourcePathsInternal(DirContext resources, String path) { ResourceSet set = new ResourceSet(); try { listCollectionPaths(set, resources, path); } catch (NamingException e) { return (null); } set.setLocked(true); return (set); }
/** * Internal implementation of getResourcesPath() logic. * * @param resources * Directory context to search * @param path * Collection path */ private Set<String> getResourcePathsInternal(DirContext resources, String path) { ResourceSet<String> set = new ResourceSet<String>(); try { listCollectionPaths(set, resources, path); } catch (NamingException e) { return (null); } set.setLocked(true); return (set); }