Package org.apache.tapestry5.ioc.services

## 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

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `URL` | `convert​(URL url)` | Passed a URL provided by `ClassLoader.getResources(String)` to check to see if can be converted.

- - ### Method Detail

    - #### convert

          URL convert​(URL url)

      Passed a URL provided by `ClassLoader.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: