Interface IPluginFileHelper


  • public interface IPluginFileHelper
    Author:
    XIMA MEDIA GmbH
    • Method Detail

      • 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 unpacked plugin.
      • 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:
        true if the class loader uses a classpath constructed with the files from an unpacked JAR file; false if it uses a classpath constructed directly from the plugin JAR file. Also returns false if this is a temporary runtime without a class loader.