edu.umd.cs.findbugs.classfile.impl

Class ZipFileCodeBase

public class ZipFileCodeBase extends AbstractScannableCodeBase

Implementation of ICodeBase to read from a zip file or jar file.

Author: David Hovemeyer

Constructor Summary
ZipFileCodeBase(ICodeBaseLocator codeBaseLocator, File file)
Constructor.
Method Summary
voidclose()
StringgetPathName()
ICodeBaseIteratoriterator()
ICodeBaseEntrylookupResource(String resourceName)

Constructor Detail

ZipFileCodeBase

public ZipFileCodeBase(ICodeBaseLocator codeBaseLocator, File file)
Constructor.

Parameters: codeBaseLocator the codebase locator for this codebase file the File containing the zip file (may be a temp file if the codebase was copied from a nested zipfile in another 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.