Package edu.umd.cs.findbugs.ba
Class SourceFinder.InMemorySourceRepository
- java.lang.Object
-
- edu.umd.cs.findbugs.ba.SourceFinder.InMemorySourceRepository
-
- All Implemented Interfaces:
SourceFinder.SourceRepository
,java.lang.AutoCloseable
- Enclosing class:
- SourceFinder
private static class SourceFinder.InMemorySourceRepository extends java.lang.Object implements SourceFinder.SourceRepository
-
-
Field Summary
Fields Modifier and Type Field Description (package private) java.util.Map<java.lang.String,byte[]>
contents
(package private) java.util.Map<java.lang.String,java.lang.Long>
lastModified
-
Constructor Summary
Constructors Constructor Description InMemorySourceRepository(java.util.zip.ZipInputStream in)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
boolean
contains(java.lang.String fileName)
SourceFileDataSource
getDataSource(java.lang.String fileName)
boolean
isPlatformDependent()
-
-
-
Method Detail
-
contains
public boolean contains(java.lang.String fileName)
- Specified by:
contains
in interfaceSourceFinder.SourceRepository
-
getDataSource
public SourceFileDataSource getDataSource(java.lang.String fileName)
- Specified by:
getDataSource
in interfaceSourceFinder.SourceRepository
-
isPlatformDependent
public boolean isPlatformDependent()
- Specified by:
isPlatformDependent
in interfaceSourceFinder.SourceRepository
-
close
public void close()
- Specified by:
close
in interfacejava.lang.AutoCloseable
- Specified by:
close
in interfaceSourceFinder.SourceRepository
-
-