Package org.apache.tapestry5.ioc.internal.services

# Class ClasspathURLConverterImpl

java.lang.Object
org.apache.tapestry5.ioc.internal.services.ClasspathURLConverterImpl

All Implemented Interfaces:
  `ClasspathURLConverter`

public class ClasspathURLConverterImpl extends Object implements ClasspathURLConverter
Default implementation that returns the URLs unchanged.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `ClasspathURLConverterImpl()`

- ## Method Summary

  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.

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### ClasspathURLConverterImpl

    public ClasspathURLConverterImpl()

- ## Method Details

  - ### convert

    public URL convert(URL url)
    Description copied from interface: `ClasspathURLConverter`
    Passed a URL provided by `ClassLoader.getResources(String)` to check to see if can be converted.
    Specified by:
      `convert` in interface `ClasspathURLConverter`
    Parameters:
      `url` - to check
    Returns:
      the url, or an equivalent url of type jar: or file: