edu.umd.cs.findbugs.ba
Class FileSourceFileDataSource

java.lang.Object
  extended by edu.umd.cs.findbugs.ba.FileSourceFileDataSource
All Implemented Interfaces:
SourceFileDataSource

public class FileSourceFileDataSource
extends java.lang.Object
implements SourceFileDataSource

Data source for source files which are stored in the filesystem.


Field Summary
private  java.lang.String fileName
           
 
Constructor Summary
FileSourceFileDataSource(java.lang.String fileName)
           
 
Method Summary
 java.lang.String getFullFileName()
          Get the full filename of the source file.
 java.io.InputStream open()
          Open an InputStream on the source file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

fileName

private java.lang.String fileName
Constructor Detail

FileSourceFileDataSource

public FileSourceFileDataSource(java.lang.String fileName)
Method Detail

open

public java.io.InputStream open()
                         throws java.io.IOException
Description copied from interface: SourceFileDataSource
Open an InputStream on the source file.

Specified by:
open in interface SourceFileDataSource
Throws:
java.io.IOException

getFullFileName

public java.lang.String getFullFileName()
Description copied from interface: SourceFileDataSource
Get the full filename of the source file.

Specified by:
getFullFileName in interface SourceFileDataSource