Package org.jboss.modules
Class JarEntryResource
java.lang.Object
org.jboss.modules.JarEntryResource
- All Implemented Interfaces:
Resource
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionJarEntryResource(JarFile jarFile, JarEntry entry, String relativePath, URL resourceURL) -
Method Summary
-
Field Details
-
jarFile
-
entry
-
entryName
-
resourceURL
-
-
Constructor Details
-
JarEntryResource
-
-
Method Details
-
getName
Description copied from interface:ResourceGet the relative resource name. -
getURL
Description copied from interface:ResourceGet the complete URL of this resource. -
openStream
Description copied from interface:ResourceOpen an input stream to this resource.- Specified by:
openStreamin interfaceResource- Returns:
- the stream
- Throws:
IOException- if an I/O error occurs
-
getSize
public long getSize()Description copied from interface:ResourceGet the size of the resource, if known.
-