Class JarFileEntry
java.lang.Object
org.jdrupes.builder.core.ResourceObject
org.jdrupes.builder.java.JarFileEntry
- All Implemented Interfaces:
IOResource, Proxyable, Resource
Represents an entry in a jar file.
-
Constructor Summary
ConstructorsConstructorDescriptionJarFileEntry(JarFile jarFile, JarEntry entry) Initializes a new jar file entry. -
Method Summary
Methods inherited from class ResourceObject
typeMethods inherited from interface Resource
asOfLocalized, type
-
Constructor Details
-
JarFileEntry
Initializes a new jar file entry.- Parameters:
jarFile- the jar fileentry- the entry
-
-
Method Details
-
asOf
-
inputStream
Description copied from interface:IOResourceReturns the input stream.- Specified by:
inputStreamin interfaceIOResource- Returns:
- the input stream
- Throws:
IOException- Signals that an I/O exception has occurred.
-
outputStream
Description copied from interface:IOResourceReturns the output stream.- Specified by:
outputStreamin interfaceIOResource- Returns:
- the output stream
- Throws:
IOException- Signals that an I/O exception has occurred.
-
hashCode
- Overrides:
hashCodein classResourceObject
-
equals
- Overrides:
equalsin classResourceObject
-
toString
- Overrides:
toStringin classResourceObject
-