예제 #1
0
  /**
   * 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);
  }