public class ClassFileArchiveEntryHandler extends AbstractJavaArtifactArchiveEntryHandler
Modifier and Type | Class and Description |
---|---|
static interface |
ClassFileArchiveEntryHandler.Callback
Contract for the thing interested in being notified about accepted class descriptors.
|
Constructor and Description |
---|
ClassFileArchiveEntryHandler(ScanOptions scanOptions,
ClassFileArchiveEntryHandler.Callback callback) |
Modifier and Type | Method and Description |
---|---|
void |
handleEntry(ArchiveEntry entry,
ArchiveContext context)
Handle the entry
|
protected void |
notifyMatchedClass(ClassDescriptor classDescriptor) |
protected ClassDescriptor |
toClassDescriptor(javassist.bytecode.ClassFile classFile,
ArchiveEntry entry) |
isListedOrDetectable
public ClassFileArchiveEntryHandler(ScanOptions scanOptions, ClassFileArchiveEntryHandler.Callback callback)
public void handleEntry(ArchiveEntry entry, ArchiveContext context)
ArchiveEntryHandler
entry
- The entry to handlecontext
- The visitation contextprotected ClassDescriptor toClassDescriptor(javassist.bytecode.ClassFile classFile, ArchiveEntry entry)
protected final void notifyMatchedClass(ClassDescriptor classDescriptor)
Copyright © 2001-2015 Red Hat, Inc. All Rights Reserved.