Interface ClasspathURLConverter
- All Known Implementing Classes:
ClasspathURLConverterImpl
public interface ClasspathURLConverter
Used by
ClassNameLocator
to convert URLs from one protocol to another. This
is a hook for supporting OSGi, allowing "bundleresource" and "bundleentry" protocols to be converted to "jar:" or
"file:".-
Method Summary
Modifier and TypeMethodDescriptionPassed a URL provided byClassLoader.getResources(String)
to check to see if can be converted.
-
Method Details
-
convert
Passed a URL provided byClassLoader.getResources(String)
to check to see if can be converted.- Parameters:
url
- to check- Returns:
- the url, or an equivalent url of type jar: or file:
-