org.apache.velocity.runtime.resource.loader

Class JarHolder

public class JarHolder extends Object

A small wrapper around a Jar

Version: $Id: JarHolder.java,v 1.8.4.1 2004/03/03 23:23:02 geirm Exp $

Author: Dave Bryson

Field Summary
JarURLConnectionconn
RuntimeServicesrsvc
JarFiletheJar
Stringurlpath
Constructor Summary
JarHolder(RuntimeServices rs, String urlpath)
Method Summary
voidclose()
HashtablegetEntries()
InputStreamgetResource(String theentry)
StringgetUrlPath()
voidinit()

Field Detail

conn

private JarURLConnection conn

rsvc

private RuntimeServices rsvc

theJar

private JarFile theJar

urlpath

private String urlpath

Constructor Detail

JarHolder

public JarHolder(RuntimeServices rs, String urlpath)

Method Detail

close

public void close()

getEntries

public Hashtable getEntries()

getResource

public InputStream getResource(String theentry)

getUrlPath

public String getUrlPath()

init

public void init()
Copyright B) 2002 Apache Software Foundation. All Rights Reserved.