Module org.glassfish.hk2.classmodel
Class AbstractAdapter
java.lang.Object
org.glassfish.hk2.classmodel.reflect.util.AbstractAdapter
- All Implemented Interfaces:
Closeable,AutoCloseable,ArchiveAdapter
- Direct Known Subclasses:
DirectoryArchive,InputStreamArchiveAdapter,JarArchive
Common archive adapter implementation
- Author:
- Jerome Dochez
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.glassfish.hk2.classmodel.reflect.ArchiveAdapter
ArchiveAdapter.Entry, ArchiveAdapter.EntryTask, ArchiveAdapter.Selector -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonAllEntries(ArchiveAdapter.EntryTask task, Logger logger) perform a task on each archive entryMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.glassfish.hk2.classmodel.reflect.ArchiveAdapter
getManifest, getURI, onSelectedEntries
-
Constructor Details
-
AbstractAdapter
public AbstractAdapter()
-
-
Method Details
-
onAllEntries
Description copied from interface:ArchiveAdapterperform a task on each archive entry- Specified by:
onAllEntriesin interfaceArchiveAdapter- Parameters:
task- the task to performlogger- for any logging activity- Throws:
IOException- can be generated while reading the archive entries
-