Class JarFileEntry
java.lang.Object
org.jdrupes.builder.core.ResourceObject
org.jdrupes.builder.java.JarFileEntry
- All Implemented Interfaces:
InputResource, 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
isLocked, name, name, typeMethods inherited from interface Resource
asOfLocalized, cleanup, isNewerThan, name, 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:InputResourceReturns the input stream.- Specified by:
inputStreamin interfaceInputResource- Returns:
- the input stream
-
outputStream
Description copied from interface:IOResourceReturns the output stream.- Specified by:
outputStreamin interfaceIOResource- Returns:
- the output stream
-
hashCode
- Overrides:
hashCodein classResourceObject
-
equals
- Overrides:
equalsin classResourceObject
-
toString
- Overrides:
toStringin classResourceObject
-