Examples of JarResourceProvider


Examples of org.linkedin.util.io.resource.internal.JarResourceProvider

    // case when the URI points directly to the jar resource
    try
    {
      ResourceProvider provider =
        new JarResourceProvider(factory.createResource(uri));

      return provider.createResource("/").createRelative(path);
    }
    catch(UnsupportedURIException e)
    {
      URISyntaxException ex = new URISyntaxException(uri.toString(), "cannot create resource");
      ex.initCause(e);
View Full Code Here

Examples of org.linkedin.util.io.resource.internal.JarResourceProvider

   * @param rootPath where is the root in the jar
   * @return the resource with root at rootPath
   */
  public static Resource create(Resource jarResource, String rootPath)
  {
    return new JarResourceProvider(jarResource, rootPath).getRootResource();
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.