public final class MetaDataUtil extends Object
| Modifier and Type | Method and Description |
|---|---|
static String[] |
getImportProperties(MetaDataType aType)
Get system properties indicating which locations to scan for descriptions of the given type.
|
static String[] |
getManifestLocations(MetaDataType aType)
Get manifest locations for the specified type.
|
static String[] |
resolve(String... patterns)
Resolve a list of patterns to a set of URLs.
|
static String[] |
scanDescriptors(MetaDataType aType)
Get all currently accessible descriptor locations for the given type.
|
static String[] |
scanImportsAndManifests(MetaDataType aType)
Scan patterns from manifest files and from the specified system property.
|
public static String[] scanImportsAndManifests(MetaDataType aType) throws ResourceInitializationException
aType - the type of metadata to scan forResourceInitializationException - if there was a problem resolving the metadata locations from the patternspublic static String[] resolve(String... patterns) throws ResourceInitializationException
patterns - the patterns to resolveResourceInitializationException - if the locations could not be resolved.public static String[] getManifestLocations(MetaDataType aType)
aType - the type of metadata to scan forpublic static String[] getImportProperties(MetaDataType aType)
aType - the type of metadata to scan forpublic static String[] scanDescriptors(MetaDataType aType) throws ResourceInitializationException
aType - the type of metadata to scan forResourceInitializationException - if the locations could not be resolved.Copyright © 2012–2021 The Apache Software Foundation. All rights reserved.