Package jadx.gui.cache.manager
Class CacheManager
- java.lang.Object
-
- jadx.gui.cache.manager.CacheManager
-
public class CacheManager extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description CacheManager(JadxSettings settings)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringbuildCacheDirStr(java.nio.file.Path dir)java.nio.file.PathgetCacheDir(JadxProject project, @Nullable java.lang.String cacheDirStr)If project cache is set -> check if cache entry exists for this project.java.util.List<CacheEntry>getCachesList()static java.lang.StringpathToString(java.nio.file.Path path)voidprojectPathUpdate(JadxProject project, java.nio.file.Path newPath)voidremoveCacheEntry(CacheEntry entry)
-
-
-
Constructor Detail
-
CacheManager
public CacheManager(JadxSettings settings)
-
-
Method Detail
-
getCacheDir
public java.nio.file.Path getCacheDir(JadxProject project, @Nullable @Nullable java.lang.String cacheDirStr)
If project cache is set -> check if cache entry exists for this project. If not -> calculate new and add entry.
-
projectPathUpdate
public void projectPathUpdate(JadxProject project, java.nio.file.Path newPath)
-
getCachesList
public java.util.List<CacheEntry> getCachesList()
-
removeCacheEntry
public void removeCacheEntry(CacheEntry entry)
-
buildCacheDirStr
public java.lang.String buildCacheDirStr(java.nio.file.Path dir)
-
pathToString
public static java.lang.String pathToString(java.nio.file.Path path)
-
-