org.glassfish.hk2.classmodel.reflect.util
Class AbstractAdapter
java.lang.Object
org.glassfish.hk2.classmodel.reflect.util.AbstractAdapter
- All Implemented Interfaces:
- Closeable, ArchiveAdapter
- Direct Known Subclasses:
- DirectoryArchive, InputStreamArchiveAdapter, JarArchive
public abstract class AbstractAdapter
- extends Object
- implements ArchiveAdapter
Common archive adapter implementation
- Author:
- Jerome Dochez
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractAdapter
public AbstractAdapter()
onAllEntries
public void onAllEntries(ArchiveAdapter.EntryTask task,
Logger logger)
throws IOException
- Description copied from interface:
ArchiveAdapter
- perform a task on each archive entry
- Specified by:
onAllEntries
in interface ArchiveAdapter
- Parameters:
task
- the task to performlogger
- for any logging activity
- Throws:
IOException
- can be generated while reading the archive entries
Copyright © 2013 Oracle Corporation. All Rights Reserved.