public class ImportResourcesExtensions extends Object
ImportResourcesExtensions contains extension methods for ImportResource
objects.| Constructor and Description |
|---|
ImportResourcesExtensions() |
| Modifier and Type | Method and Description |
|---|---|
static Map<Class<?>,ImportResource[]> |
getImportResources(String packageName)
Gets a
Map with ImportResource objects and the corresponding to the found
class from the given package Name. |
public static Map<Class<?>,ImportResource[]> getImportResources(String packageName) throws ClassNotFoundException, IOException
Map with ImportResource objects and the corresponding to the found
class from the given package Name. The search is made recursive. The key from an entry of the
map is the class where the ImportResource objects found and the value is an Array of
the ImportResource objects that contains in the class.packageName - the package nameClassNotFoundException - occurs if a given class cannot be located by the specified class loaderIOException - Signals that an I/O exception has occurred.Copyright © 2015–2017 Alpha Ro Group UG (haftungsbeschrÀngt). All rights reserved.