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

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

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

A directory containing source files.


Field Summary
private  java.lang.String baseDir
           
 
Constructor Summary
SourceFinder.DirectorySourceRepository(java.lang.String baseDir)
           
 
Method Summary
 boolean contains(java.lang.String fileName)
           
 SourceFileDataSource getDataSource(java.lang.String fileName)
           
private  java.lang.String getFullFileName(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

baseDir

private java.lang.String baseDir
Constructor Detail

SourceFinder.DirectorySourceRepository

public SourceFinder.DirectorySourceRepository(java.lang.String baseDir)
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

getFullFileName

private java.lang.String getFullFileName(java.lang.String fileName)