Package org.jano.resources

Examples of org.jano.resources.FileResourceView


   * @param path real host filesystem path to be a root of mounted point
   */
  public JanoConfig mountFileView(String uri, String path, Set<Right> rights) {
    Diagnostic.log("Mount: " + path + " @ " + uri + " " + rights);
    path = path.startsWith(Uri.ROOT) ? "." + path : path;  //use relative path
    return mountView(uri, Security.secure(new FileResourceView(path), rights));
  }
View Full Code Here

TOP

Related Classes of org.jano.resources.FileResourceView

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.