public class ZipSource extends SourceAdapter
| Modifier and Type | Method and Description |
|---|---|
protected ZipEntrySource |
createZipSource(ZipEntry nextEntry,
ZipInputStream zip) |
Iterable<Source> |
getChildren() |
boolean |
isFolder() |
boolean |
isStream() |
InputStream |
openStream() |
String |
toString() |
getExternalPath, getInternalPath, getName, getSourcepublic ZipSource(Source source)
public Iterable<Source> getChildren()
getChildren in interface SourcegetChildren in class SourceAdapterprotected ZipEntrySource createZipSource(ZipEntry nextEntry, ZipInputStream zip)
public boolean isStream()
isStream in interface SourceisStream in class SourceAdapterpublic boolean isFolder()
isFolder in interface SourceisFolder in class SourceAdapterpublic InputStream openStream() throws IOException
openStream in interface SourceopenStream in class SourceAdapterIOExceptionpublic String toString()
toString in class SourceAdapterCopyright © 2022 vpc open source initiative. All rights reserved.