Package httl.spi.loaders.resources

Examples of httl.spi.loaders.resources.ClasspathResource


  public List<String> doList(String directory, String suffix) throws IOException {
    return UrlUtils.listUrl(Thread.currentThread().getContextClassLoader().getResource(cleanPath(directory)), suffix);
  }
 
  protected Resource doLoad(String name, Locale locale, String encoding, String path) throws IOException {
    return new ClasspathResource(getEngine(), name, locale, encoding, cleanPath(path));
  }
View Full Code Here

TOP

Related Classes of httl.spi.loaders.resources.ClasspathResource

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.