Package com.alipay.sofa.ark.spi.archive
Class AbstractArchive
java.lang.Object
com.alipay.sofa.ark.spi.archive.AbstractArchive
- All Implemented Interfaces:
Archive,Iterable<Archive.Entry>
- Since:
- 0.1.0
- Author:
- qilong.zql
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.alipay.sofa.ark.spi.archive.Archive
Archive.Entry, Archive.EntryFilter -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetNestedArchives(Archive.EntryFilter filter) Returns nestedArchives for entries that match the specified filter.URL[]getUrls(Archive.EntryFilter entryFilter) booleanisEntryExist(Archive.EntryFilter filter) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.alipay.sofa.ark.spi.archive.Archive
getInputStream, getManifest, getNestedArchive, getUrlMethods inherited from interface java.lang.Iterable
forEach, iterator, spliterator
-
Constructor Details
-
AbstractArchive
public AbstractArchive()
-
-
Method Details
-
getNestedArchives
Description copied from interface:ArchiveReturns nestedArchives for entries that match the specified filter.- Specified by:
getNestedArchivesin interfaceArchive- Parameters:
filter- the filter used to limit entries- Returns:
- nested archives
- Throws:
IOException- if nested archives cannot be read
-
getUrls
- Throws:
IOException
-
isEntryExist
-