Interface IPluginFileHelper
public interface IPluginFileHelper
- Author:
- XIMA MEDIA GmbH
-
Method Summary
Modifier and TypeMethodDescriptionbooleanChecks whether the plugin JAR file was unpacked and the class path points to the unpacked files, or whether class path points directly to the JAR file.
-
Method Details
-
getPluginFolder
File getPluginFolder() -
getPropertiesFile
File getPropertiesFile() -
getPluginFile
File getPluginFile()- Returns:
- The path to the JAR file with the plugin.
-
getPluginUnpackedDir
File getPluginUnpackedDir()- Returns:
- The path to the root directory with the unpacked files from the plugin. This directory may not exist if
this is not an
unpackedplugin.
-
isUnpacked
boolean isUnpacked()Checks whether the plugin JAR file was unpacked and the class path points to the unpacked files, or whether class path points directly to the JAR file.- Returns:
trueif the class loader uses a classpath constructed with the files from an unpacked JAR file;falseif it uses a classpath constructed directly from the plugin JAR file. Also returnsfalseif this is a temporary runtime without a class loader.
-