Class JarPluginProviderLoader.CachedJar

  • All Implemented Interfaces:
    java.io.Closeable, java.lang.AutoCloseable
    Enclosing class:
    JarPluginProviderLoader

    protected class JarPluginProviderLoader.CachedJar
    extends java.lang.Object
    implements java.io.Closeable
    Holds the cached jar file, dir, libs list and class and resource loaders for a jar plugin
    • Constructor Summary

      Constructors 
      Constructor Description
      CachedJar​(java.io.File dir, java.io.File cachedJar, java.util.Collection<java.io.File> depLibs, PluginResourceLoader resourcesLoader)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void close()  
      java.io.File getCachedJar()  
      java.net.URLClassLoader getClassLoader()  
      java.util.Collection<java.io.File> getDepLibs()  
      java.io.File getDir()  
      • Methods inherited from class java.lang.Object

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

      • getDir

        public java.io.File getDir()
      • getCachedJar

        public java.io.File getCachedJar()
      • getDepLibs

        public java.util.Collection<java.io.File> getDepLibs()
      • close

        public void close()
                   throws java.io.IOException
        Specified by:
        close in interface java.lang.AutoCloseable
        Specified by:
        close in interface java.io.Closeable
        Throws:
        java.io.IOException