org.codehaus.plexus.resource.loader

Class JarHolder

public class JarHolder extends Object

A small wrapper around a Jar

Version: $Id: JarHolder.java 4941 2006-12-02 19:39:39Z jvanzyl $

Author: Dave Bryson Jason van Zyl

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

Field Detail

conn

private JarURLConnection conn

theJar

private JarFile theJar

urlpath

private String urlpath

Constructor Detail

JarHolder

public JarHolder(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()