Class AbstractAdapter
- java.lang.Object
-
- org.glassfish.hk2.classmodel.reflect.util.AbstractAdapter
-
- All Implemented Interfaces:
java.io.Closeable
,java.lang.AutoCloseable
,ArchiveAdapter
- Direct Known Subclasses:
DirectoryArchive
,InputStreamArchiveAdapter
,JarArchive
public abstract class AbstractAdapter extends java.lang.Object implements ArchiveAdapter
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 Constructor Description AbstractAdapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
onAllEntries(ArchiveAdapter.EntryTask task, java.util.logging.Logger logger)
perform a task on each archive entry-
Methods 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
-
-
-
-
Method Detail
-
onAllEntries
public void onAllEntries(ArchiveAdapter.EntryTask task, java.util.logging.Logger logger) throws java.io.IOException
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:
java.io.IOException
- can be generated while reading the archive entries
-
-