Package com.ibm.sbt.playground.vfs

Examples of com.ibm.sbt.playground.vfs.ServletVFS


   * @param context
   * @param relPath The folder path.
   * @return VFSFile from the relPath and context.
   */
  private static VFSFile getRootFile(ServletContext context, String relPath) {
    ServletVFS vfs = new ServletVFS(context, relPath);
    return vfs.getRoot();
  }
View Full Code Here


   * @return VFSFile from the relPath and context.
   */
  private static VFSFile getRootFile(ServletContext context, String relPath) {
    String rootKey = context.getContextPath()+relPath;
    if (mappedServlets.containsKey(rootKey)) return mappedServlets.get(rootKey).getRoot();
    ServletVFS vfs = new ServletVFS(context, relPath);
    mappedServlets.put(rootKey,vfs);
    return vfs.getRoot();
  }
View Full Code Here

TOP

Related Classes of com.ibm.sbt.playground.vfs.ServletVFS

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.