Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.connect.update.impl
Class LocalPackageData

java.lang.Object
  extended by org.nuxeo.connect.update.impl.LocalPackageData
All Implemented Interfaces:
org.nuxeo.connect.update.PackageData

public class LocalPackageData
extends Object
implements org.nuxeo.connect.update.PackageData

Author:
Bogdan Stefanescu

Constructor Summary
LocalPackageData(ClassLoader parent, File file)
           
 
Method Summary
 File getEntry(String path)
           
 InputStream getEntryAsStream(String path)
           
 ClassLoader getLoader()
           
 File getManifest()
           
 File getRoot()
           
 Class<?> loadClass(String name)
           
 void setRoot(File file)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LocalPackageData

public LocalPackageData(ClassLoader parent,
                        File file)
                 throws IOException
Throws:
IOException
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

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.