Class DownloadManagerHelper
- java.lang.Object
-
- org.apache.karaf.features.internal.download.impl.DownloadManagerHelper
-
public final class DownloadManagerHelper extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Pattern
getIgnoredProtocolPattern()
static String
removeInlinedMavenRepositoryUrl(String url)
static void
setExtraProtocols(Collection<String> protocols)
static String
stripInlinedMavenRepositoryUrl(String url)
static String
stripStartLevel(String url)
static String
stripUrl(String url)
Strips download urls from wrapper protocols.
-
-
-
Method Detail
-
getIgnoredProtocolPattern
public static Pattern getIgnoredProtocolPattern()
-
setExtraProtocols
public static void setExtraProtocols(Collection<String> protocols)
-
stripUrl
public static String stripUrl(String url)
Strips download urls from wrapper protocols.- Parameters:
url
- the given url.- Returns:
- the stripped URL for the wrapper protocols.
-
-