Package edu.umd.cs.findbugs.ba
Class ZipSourceFileDataSource
java.lang.Object
edu.umd.cs.findbugs.ba.ZipSourceFileDataSource
- All Implemented Interfaces:
SourceFileDataSource
A source file data source for source files residing in Zip or Jar archives.
-
Constructor Summary
ConstructorsConstructorDescriptionZipSourceFileDataSource
(ZipFile zipFile, FileSystem zipFileSystem, String entryName) -
Method Summary
Modifier and TypeMethodDescriptionGet the full filename of the source file.Get the full URI of the source file.long
open()
Open an InputStream on the source file.
-
Constructor Details
-
ZipSourceFileDataSource
-
-
Method Details
-
open
Description copied from interface:SourceFileDataSource
Open an InputStream on the source file.- Specified by:
open
in interfaceSourceFileDataSource
- Throws:
IOException
-
getFullFileName
Description copied from interface:SourceFileDataSource
Get the full filename of the source file.- Specified by:
getFullFileName
in interfaceSourceFileDataSource
-
getFullURI
Description copied from interface:SourceFileDataSource
Get the full URI of the source file.- Specified by:
getFullURI
in interfaceSourceFileDataSource
-
getLastModified
public long getLastModified()- Specified by:
getLastModified
in interfaceSourceFileDataSource
-