org.apache.velocity.runtime.resource.loader
Class JarHolder

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

public class JarHolder
extends Object

A small wrapper around a Jar

Version:
$Id: JarHolder.java 191743 2005-06-21 23:22:20Z dlr $
Author:
Dave Bryson

Constructor Summary
JarHolder(RuntimeServices rs, String urlpath)
           
 
Method Summary
 void close()
           
 Hashtable getEntries()
           
 InputStream getResource(String theentry)
           
 String getUrlPath()
           
 void init()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JarHolder

public JarHolder(RuntimeServices rs,
                 String urlpath)
Method Detail

init

public void init()

close

public void close()

getResource

public InputStream getResource(String theentry)
                        throws ResourceNotFoundException
Throws:
ResourceNotFoundException

getEntries

public Hashtable getEntries()

getUrlPath

public String getUrlPath()


Copyright © 2002 Apache Software Foundation. All Rights Reserved.