\r\n
.long
getLastModifiedDate
in interface Resource
JarResource(String resourceName,
- JarResource.StreamFunction streamFunction)
JarResource(String resourceName,
+ JarResource.StreamFunction streamFunction,
+ LongSupplier lastModifiedSupplier)
JarResource(String resourceName,
- JarResource.StreamSupplier streamSupplier)
JarResource(String resourceName,
+ JarResource.StreamSupplier streamSupplier,
+ LongSupplier lastModifiedSupplier)
\r\n
.getLastModifiedDate
in interface Resource
PlanFiles(File dataFolder,
+PlanFiles(File dataFolder,
JarResource.StreamFunction getResourceStream,
+ dagger.Lazy<AssetVersions> assetVersions,
dagger.Lazy<PlanConfig> config)
Path
protected @NotNull Long
getLastModifiedForJarResource(String resourceName)
getResourceFromJar(String resourceName)
getResourceFromJar(String resourceName)
Resource
.getResourceFromPluginFolder(String resourceName)
getResourceFromPluginFolder(String resourceName)
Resource
.ResourceService
APIs.long
static boolean
isTextResource(String resourceName)
static void
static void
cleanUp()
SpongePlanFiles(File dataFolder,
+SpongePlanFiles(File dataFolder,
JarResource.StreamFunction getResourceStream,
PlanPlugin plugin,
+ dagger.Lazy<AssetVersions> assetVersions,
dagger.Lazy<PlanConfig> config)
attemptToFind, disable, enable, getConfigFile, getCustomizableResource, getDataDirectory, getDataFolder, getFileFromPluginFolder, getJSONStorageDirectory, getLocaleFile, getLogsDirectory, getLogsFolder, getResourceFromPluginFolder
attemptToFind, disable, enable, getConfigFile, getCustomizableResource, getDataDirectory, getDataFolder, getFileFromPluginFolder, getJSONStorageDirectory, getLastModifiedForJarResource, getLocaleFile, getLogsDirectory, getLogsFolder, getResourceFromPluginFolder
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
\r\n
.getLastModifiedDate
in interface Resource
\r\n
.getLastModifiedDate
in interface Resource
Resource
implementation for something that is read via InputStream.