org.apache.velocity.runtime.resource.loader
Class JarHolder
java.lang.Object
   org.apache.velocity.runtime.resource.loader.JarHolder
org.apache.velocity.runtime.resource.loader.JarHolder
- public class JarHolder 
- extends Object
A small wrapper around a Jar
- Version:
- $Id: JarHolder.java 471259 2006-11-04 20:26:57Z henning $
- Author:
- Dave Bryson
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
JarHolder
public JarHolder(RuntimeServices rs,
                 String urlpath)
- Parameters:
- rs-
- urlpath-
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.
 
Copyright © 2000-2007 The Apache Software Foundation. All Rights Reserved.