Class ZipSource
java.lang.Object
net.thevpc.nuts.toolbox.ncode.sources.SourceAdapter
net.thevpc.nuts.toolbox.ncode.sources.ZipSource
- All Implemented Interfaces:
Source
- Direct Known Subclasses:
JarSource
- Author:
- thevpc
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ZipEntrySourcecreateZipSource(ZipEntry nextEntry, ZipInputStream zip) booleanisFolder()booleanisStream()toString()Methods inherited from class SourceAdapter
getExternalPath, getInternalPath, getName, getSource
-
Constructor Details
-
ZipSource
-
-
Method Details
-
getChildren
- Specified by:
getChildrenin interfaceSource- Overrides:
getChildrenin classSourceAdapter
-
createZipSource
-
isStream
public boolean isStream()- Specified by:
isStreamin interfaceSource- Overrides:
isStreamin classSourceAdapter
-
isFolder
public boolean isFolder()- Specified by:
isFolderin interfaceSource- Overrides:
isFolderin classSourceAdapter
-
openStream
- Specified by:
openStreamin interfaceSource- Overrides:
openStreamin classSourceAdapter- Throws:
IOException
-
toString
- Overrides:
toStringin classSourceAdapter
-