Package org.wymiwyg.commons.util.dirbrowser

Examples of org.wymiwyg.commons.util.dirbrowser.FilePathNode


  }

  private void updateFileServer() {
    final Collection<PathNode> nodes = new HashSet<PathNode>(bundleNodeMap.values());
    if (extraPath != null) {
      nodes.add(new FilePathNode(extraPath));
    }
    MultiPathNode multiPathNode = new MultiPathNode(nodes.
        toArray(new PathNode[nodes.size()]));
    fileServer = new FileServer(multiPathNode);
  }
View Full Code Here


   * configures the instance to use the specified directory as root
   *
   * @param rootDir the root of the serverd hierarchy
   */
  public void configure(File rootDir) {
    configure(new FilePathNode(rootDir));
  }
View Full Code Here

TOP

Related Classes of org.wymiwyg.commons.util.dirbrowser.FilePathNode

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.