public class DistributionBundle
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
protected static class |
DistributionBundle.OsgiArtifact
One of the listed artifact
|
Constructor and Description |
---|
DistributionBundle(java.lang.String url) |
DistributionBundle(java.lang.String baseUrl,
java.lang.String relativeUrl,
java.lang.String localCache) |
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
constructUrl(java.lang.String baseUrl,
java.lang.String relativeUrl) |
java.lang.String |
getRelativeUrl() |
protected java.util.List<DistributionBundle.OsgiArtifact> |
listArtifacts(java.io.InputStream in) |
java.util.List<java.lang.String> |
listUrls()
List full URLs of the bundles, based on base URL, usable directly for
download.
|
void |
processUrl() |
static DistributionBundle |
processUrl(java.lang.String baseUrl,
java.lang.String relativeUrl,
java.lang.String localCache)
Convenience method
|
void |
setBaseUrl(java.lang.String baseUrl) |
void |
setSeparator(java.lang.String modulesUrlSeparator)
Separator used to parse the tabular file
|
public DistributionBundle(java.lang.String url)
public DistributionBundle(java.lang.String baseUrl, java.lang.String relativeUrl, java.lang.String localCache)
protected java.lang.String constructUrl(java.lang.String baseUrl, java.lang.String relativeUrl)
public void processUrl()
protected java.util.List<DistributionBundle.OsgiArtifact> listArtifacts(java.io.InputStream in)
public static DistributionBundle processUrl(java.lang.String baseUrl, java.lang.String relativeUrl, java.lang.String localCache)
public java.util.List<java.lang.String> listUrls()
public void setBaseUrl(java.lang.String baseUrl)
public void setSeparator(java.lang.String modulesUrlSeparator)
public java.lang.String getRelativeUrl()
Copyright © 2007–2020. All rights reserved.