Class Plugin.PluginBaseDirectories

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.io.File getCacheDirectory​(boolean createIfMissing)
      Get the directory where user-specific cached content (non-essential data) should be stored.
      java.io.File getPreferencesDirectory​(boolean createIfMissing)
      Get the directory where user-specific configuration and preferences should be stored.
      java.io.File getUserDataDirectory​(boolean createIfMissing)
      Get the directory where user-specific data files should be stored.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getPreferencesDirectory

        public java.io.File getPreferencesDirectory​(boolean createIfMissing)
        Description copied from interface: IBaseDirectories
        Get the directory where user-specific configuration and preferences should be stored.
        Specified by:
        getPreferencesDirectory in interface IBaseDirectories
        Parameters:
        createIfMissing - if true, automatically creates this directory, in case it is missing
        Returns:
        the preferences directory
      • getUserDataDirectory

        public java.io.File getUserDataDirectory​(boolean createIfMissing)
        Description copied from interface: IBaseDirectories
        Get the directory where user-specific data files should be stored.
        Specified by:
        getUserDataDirectory in interface IBaseDirectories
        Parameters:
        createIfMissing - if true, automatically creates this directory, in case it is missing
        Returns:
        the user data directory
      • getCacheDirectory

        public java.io.File getCacheDirectory​(boolean createIfMissing)
        Description copied from interface: IBaseDirectories
        Get the directory where user-specific cached content (non-essential data) should be stored.
        Specified by:
        getCacheDirectory in interface IBaseDirectories
        Parameters:
        createIfMissing - if true, automatically creates this directory, in case it is missing
        Returns:
        the cache directory