edu.umd.cs.findbugs.classfile.impl

Class NestedZipFileCodeBase

public class NestedZipFileCodeBase extends AbstractScannableCodeBase implements IScannableCodeBase

A scannable code base class for a zip (or Jar) file nested inside some other codebase. These are handled by extracting the nested zip/jar file to a temporary file, and delegating to an internal ZipFileCodeBase that reads from the temporary file.

Author: David Hovemeyer

Constructor Summary
NestedZipFileCodeBase(NestedZipFileCodeBaseLocator codeBaseLocator)
Constructor.
Method Summary
voidclose()
StringgetPathName()
ICodeBaseIteratoriterator()
ICodeBaseEntrylookupResource(String resourceName)

Constructor Detail

NestedZipFileCodeBase

public NestedZipFileCodeBase(NestedZipFileCodeBaseLocator codeBaseLocator)
Constructor.

Parameters: codeBaseLocator the codebase locator for this codebase

Method Detail

close

public void close()

getPathName

public String getPathName()

iterator

public ICodeBaseIterator iterator()

lookupResource

public ICodeBaseEntry lookupResource(String resourceName)
FindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.