com.vladium.emma.report
Class SourcePathCache
java.lang.Object
com.vladium.emma.report.SourcePathCache
- public final class SourcePathCache
- extends java.lang.Object
- Author:
- Vlad Roubtsov, (C) 2003
Constructor Summary |
SourcePathCache(java.io.File[] sourcepath,
boolean removeNonExistent)
|
SourcePathCache(java.lang.String[] sourcepath,
boolean removeNonExistent)
|
Method Summary |
private java.util.Set |
faultListing(java.io.File dir,
java.lang.String packageVMName)
|
java.io.File |
find(java.lang.String packageVMName,
java.lang.String name)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
m_sourcepath
private final java.io.File[] m_sourcepath
m_packageCache
private final java.util.Map m_packageCache
FILE_EXTENSION_FILTER
private static final SourcePathCache.FileExtensionFilter FILE_EXTENSION_FILTER
SourcePathCache
public SourcePathCache(java.lang.String[] sourcepath,
boolean removeNonExistent)
- Parameters:
sourcepath
- [can be empty]
SourcePathCache
public SourcePathCache(java.io.File[] sourcepath,
boolean removeNonExistent)
- Parameters:
sourcepath
- [can be empty]
find
public java.io.File find(java.lang.String packageVMName,
java.lang.String name)
- Returns:
- absolute pathname [null if 'name' was not found in cache]
faultListing
private java.util.Set faultListing(java.io.File dir,
java.lang.String packageVMName)