public class ResourceCache
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static void |
cache(java.lang.String resourceName,
java.lang.String got) |
static void |
cleanUp() |
static java.util.List<java.lang.String> |
getCachedResourceNames() |
static Resource |
getOrCache(java.lang.String resourceName,
java.util.function.Supplier<Resource> resourceSupplier) |
static void |
invalidateAll() |
public static Resource getOrCache(java.lang.String resourceName, java.util.function.Supplier<Resource> resourceSupplier)
public static void cache(java.lang.String resourceName, java.lang.String got)
public static void invalidateAll()
public static void cleanUp()
public static java.util.List<java.lang.String> getCachedResourceNames()