org.eclipse.osgi.internal.loader
Class MultiSourcePackage

java.lang.Object
  extended by org.eclipse.osgi.internal.loader.PackageSource
      extended by org.eclipse.osgi.internal.loader.MultiSourcePackage
All Implemented Interfaces:
KeyedElement

public class MultiSourcePackage
extends PackageSource


Field Summary
 
Fields inherited from class org.eclipse.osgi.internal.loader.PackageSource
id
 
Method Summary
 URL getResource(String name)
           
 Enumeration<URL> getResources(String name)
           
 SingleSourcePackage[] getSuppliers()
           
 Collection<String> listResources(String path, String filePattern)
           
 Class<?> loadClass(String name)
           
 
Methods inherited from class org.eclipse.osgi.internal.loader.PackageSource
compare, getId, getKey, getKeyHashCode, hasCommonSource, isFriend, isNullSource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getSuppliers

public SingleSourcePackage[] getSuppliers()
Specified by:
getSuppliers in class PackageSource

loadClass

public Class<?> loadClass(String name)
                   throws ClassNotFoundException
Specified by:
loadClass in class PackageSource
Throws:
ClassNotFoundException

getResource

public URL getResource(String name)
Specified by:
getResource in class PackageSource

getResources

public Enumeration<URL> getResources(String name)
Specified by:
getResources in class PackageSource

listResources

public Collection<String> listResources(String path,
                                        String filePattern)
Specified by:
listResources in class PackageSource


Copyright © 2007–2014 The Apache Software Foundation. All rights reserved.