Class LocalPackageData

  • All Implemented Interfaces:
    org.nuxeo.connect.update.PackageData

    public class LocalPackageData
    extends Object
    implements org.nuxeo.connect.update.PackageData
    Author:
    Bogdan Stefanescu
    • Method Detail

      • setRoot

        public void setRoot​(File file)
      • getLoader

        public ClassLoader getLoader()
        Specified by:
        getLoader in interface org.nuxeo.connect.update.PackageData
      • getEntry

        public File getEntry​(String path)
        Specified by:
        getEntry in interface org.nuxeo.connect.update.PackageData
      • getEntryAsStream

        public InputStream getEntryAsStream​(String path)
                                     throws IOException
        Specified by:
        getEntryAsStream in interface org.nuxeo.connect.update.PackageData
        Throws:
        IOException
      • getManifest

        public File getManifest()
        Specified by:
        getManifest in interface org.nuxeo.connect.update.PackageData
      • getRoot

        public File getRoot()
        Specified by:
        getRoot in interface org.nuxeo.connect.update.PackageData
      • loadClass

        public Class<?> loadClass​(String name)
                           throws org.nuxeo.connect.update.PackageException
        Specified by:
        loadClass in interface org.nuxeo.connect.update.PackageData
        Throws:
        org.nuxeo.connect.update.PackageException