public class AnnotationIndexReader extends Object
| Constructor and Description |
|---|
AnnotationIndexReader() |
| Modifier and Type | Method and Description |
|---|---|
static Iterable<String> |
getIndexFilesForProfiles(String[] profileNames,
String indexFileName) |
static List<String> |
readAllIndexFilesForProduct(String resourceFile,
org.osgi.framework.Bundle bundle,
org.osgi.framework.BundleContext bundleContext)
Read both the cross-product file and the product-specific file for the currently running product from the bundle and returns
their lines as a single list.
|
static List<String> |
readIndexFile(String resourceFile,
org.osgi.framework.Bundle bundle)
Read a file from a bundle and return the list of lines of the file.
|
static List<String> |
readIndexFile(URL url) |
static Properties |
readPropertiesFile(URL url) |
static String[] |
splitProfiles(String profiles) |
public static List<String> readIndexFile(String resourceFile, org.osgi.framework.Bundle bundle)
resourceFile - the path to the file in the bundlebundle - the bundle to read frompublic static List<String> readAllIndexFilesForProduct(String resourceFile, org.osgi.framework.Bundle bundle, org.osgi.framework.BundleContext bundleContext)
resourceFile - the path to the cross-product file in the bundlebundle - the bundle to read frombundleContext - the bundle context used to determine the running productpublic static Properties readPropertiesFile(URL url)
Copyright © 2019 Atlassian. All rights reserved.