public class ZipSourceFileDataSource extends java.lang.Object implements SourceFileDataSource
| Constructor and Description |
|---|
ZipSourceFileDataSource(java.util.zip.ZipFile zipFile,
java.lang.String entryName) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getFullFileName()
Get the full filename of the source file.
|
long |
getLastModified() |
java.io.InputStream |
open()
Open an InputStream on the source file.
|
public ZipSourceFileDataSource(java.util.zip.ZipFile zipFile,
java.lang.String entryName)
public java.io.InputStream open()
throws java.io.IOException
SourceFileDataSourceopen in interface SourceFileDataSourcejava.io.IOExceptionpublic java.lang.String getFullFileName()
SourceFileDataSourcegetFullFileName in interface SourceFileDataSourcepublic long getLastModified()
getLastModified in interface SourceFileDataSourceSpotBugs is licensed under the LGPL.