edu.umd.cs.findbugs.ba
Class SourceFinder.ZipSourceRepository

java.lang.Object
  extended by edu.umd.cs.findbugs.ba.SourceFinder.ZipSourceRepository
All Implemented Interfaces:
SourceFinder.SourceRepository
Enclosing class:
SourceFinder

private static class SourceFinder.ZipSourceRepository
extends java.lang.Object
implements SourceFinder.SourceRepository

A zip or jar archive containing source files.


Field Summary
private  java.util.zip.ZipFile zipFile
           
 
Constructor Summary
SourceFinder.ZipSourceRepository(java.util.zip.ZipFile zipFile)
           
 
Method Summary
 boolean contains(java.lang.String fileName)
           
 SourceFileDataSource getDataSource(java.lang.String fileName)
           
 boolean isPlatformDependent()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

zipFile

private java.util.zip.ZipFile zipFile
Constructor Detail

SourceFinder.ZipSourceRepository

public SourceFinder.ZipSourceRepository(java.util.zip.ZipFile zipFile)
Method Detail

contains

public boolean contains(java.lang.String fileName)
Specified by:
contains in interface SourceFinder.SourceRepository

isPlatformDependent

public boolean isPlatformDependent()
Specified by:
isPlatformDependent in interface SourceFinder.SourceRepository

getDataSource

public SourceFileDataSource getDataSource(java.lang.String fileName)
Specified by:
getDataSource in interface SourceFinder.SourceRepository