java.lang.Object
org.apache.velocity.runtime.resource.loader.JarHolder

public class JarHolder extends Object
A small wrapper around a Jar
Version:
$Id: JarHolder.java 687177 2008-08-19 22:00:32Z nbubna $
Author:
Dave Bryson
  • Constructor Details

  • Method Details

    • init

      public void init()
    • close

      public void close()
    • getResource

      public InputStream getResource(String theentry) throws ResourceNotFoundException
      Parameters:
      theentry -
      Returns:
      The requested resource.
      Throws:
      ResourceNotFoundException
    • getEntries

      public Hashtable getEntries()
      Returns:
      The entries of the jar as a hashtable.
    • getUrlPath

      public String getUrlPath()
      Returns:
      The URL path of this jar holder.