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.
-
Field Summary
Fields -
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.longopen()Open an InputStream on the source file.
-
Field Details
-
zipFile
-
entryName
-
entryURI
-
zipEntry
-
-
Constructor Details
-
ZipSourceFileDataSource
-
-
Method Details
-
open
Description copied from interface:SourceFileDataSourceOpen an InputStream on the source file.- Specified by:
openin interfaceSourceFileDataSource- Throws:
IOException
-
getFullFileName
Description copied from interface:SourceFileDataSourceGet the full filename of the source file.- Specified by:
getFullFileNamein interfaceSourceFileDataSource
-
getFullURI
Description copied from interface:SourceFileDataSourceGet the full URI of the source file.- Specified by:
getFullURIin interfaceSourceFileDataSource
-
getLastModified
public long getLastModified()- Specified by:
getLastModifiedin interfaceSourceFileDataSource
-