public class Kar extends Object
| Modifier and Type | Field and Description |
|---|---|
static org.slf4j.Logger |
LOGGER |
static String |
MANIFEST_ATTR_KARAF_FEATURE_REPOS |
static String |
MANIFEST_ATTR_KARAF_FEATURE_START |
| Modifier and Type | Method and Description |
|---|---|
void |
extract(File repoDir,
File resourceDir)
Extract a kar from a given URI into a repository dir and resource dir
and populate shouldInstallFeatures and featureRepos
|
List<URI> |
getFeatureRepos() |
String |
getKarName() |
URI |
getKarUri() |
boolean |
isShouldInstallFeatures() |
public static final org.slf4j.Logger LOGGER
public static final String MANIFEST_ATTR_KARAF_FEATURE_START
public static final String MANIFEST_ATTR_KARAF_FEATURE_REPOS
public Kar(URI karUri)
public void extract(File repoDir, File resourceDir)
repoDir - directory to write the repository contents of the kar toresourceDir - directory to write the resource contents of the kar topublic String getKarName()
public URI getKarUri()
public boolean isShouldInstallFeatures()
Copyright © 2007–2015 The Apache Software Foundation. All rights reserved.