Package com.elibom.jogger.asset

Examples of com.elibom.jogger.asset.FileAssetLoader


   * @param path the prefix used to match the request path; also the path where the static files are located in the file system.
   */
  public StaticMiddleware(String path) {
    Preconditions.notNull(path, "no path provided.");
    this.prefix = fixPrefix(path);
    this.assetLoader = new FileAssetLoader(path);
  }
View Full Code Here


  public StaticMiddleware(String path, String prefix) {
    Preconditions.notNull(path, "no path provided.");
    Preconditions.notNull(prefix, "no prefix provided.");
   
    this.prefix = fixPrefix(prefix);
    this.assetLoader = new FileAssetLoader(path);
  }
View Full Code Here

TOP

Related Classes of com.elibom.jogger.asset.FileAssetLoader

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.