Package org.linkedin.util.io.resource.internal

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


   * @param path the path (relative to root)
   * @return the resource
   */
  public static Resource create(File root, String path)
  {
    FileResourceProvider frp = null;
    try
    {
      frp = new FileResourceProvider(root);
    }
    catch(IOException e)
    {
      throw new RuntimeException(e);
    }
    return frp.createResource(path);
  }
View Full Code Here

TOP

Related Classes of org.linkedin.util.io.resource.internal.FileResourceProvider

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.