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
-
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 TypeMethodDescriptionvoid
onAllEntries
(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, wait
Methods inherited from interface org.glassfish.hk2.classmodel.reflect.ArchiveAdapter
getManifest, getURI, onSelectedEntries
-
Constructor Details
-
AbstractAdapter
public AbstractAdapter()
-
-
Method Details
-
onAllEntries
Description copied from interface:ArchiveAdapter
perform a task on each archive entry- Specified by:
onAllEntries
in interfaceArchiveAdapter
- Parameters:
task
- the task to performlogger
- for any logging activity- Throws:
IOException
- can be generated while reading the archive entries
-