public final class SlingNodetypesScanner extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
SLING_NODETYPES |
| Modifier and Type | Method and Description |
|---|---|
static List<URL> |
findNodeTypeDefinitions()
Find all node type definition classpath paths by searching all MANIFEST.MF files in the classpath and reading
the paths from the "Sling-Nodetypes" entry.
|
static List<URL> |
findNodeTypeDefinitions(ClassLoader classLoader)
Find all node type definition classpath paths by searching all MANIFEST.MF files in the classpath and reading
the paths from the "Sling-Nodetypes" entry.
|
static List<URL> |
findNodeTypeDefinitions(List<File> zipFiles)
Find all node type definition classpath paths by searching all MANIFEST.MF files in the classpath and reading
the paths from the "Sling-Nodetypes" entry.
|
static Map<String,URL> |
resolveNodeTypeDefinitions(List<String> resourceNames) |
static Map<String,URL> |
resolveNodeTypeDefinitions(List<String> resourceNames,
ClassLoader classLoader) |
static Map<String,URL> |
resolveNodeTypeDefinitions(List<String> resourceNames,
List<File> zipFiles) |
public static final String SLING_NODETYPES
public static List<URL> findNodeTypeDefinitions() throws IOException
IOException - for I/O Errorspublic static List<URL> findNodeTypeDefinitions(ClassLoader classLoader) throws IOException
classLoader - classloader to scanIOException - for I/O Errorspublic static List<URL> findNodeTypeDefinitions(List<File> zipFiles) throws IOException
zipFiles - list of files representing classpath elements like jars and directoriesIOException - for I/O Errorspublic static Map<String,URL> resolveNodeTypeDefinitions(List<String> resourceNames)
public static Map<String,URL> resolveNodeTypeDefinitions(List<String> resourceNames, ClassLoader classLoader)
public static Map<String,URL> resolveNodeTypeDefinitions(List<String> resourceNames, List<File> zipFiles) throws IOException
IOExceptionCopyright © 2017–2020. All rights reserved.