org.apache.tapestry5.ioc.internal.services
Class ClasspathURLConverterImpl

java.lang.Object
  extended by 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
ClasspathURLConverterImpl()
           
 
Method Summary
 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 Detail

ClasspathURLConverterImpl

public ClasspathURLConverterImpl()
Method Detail

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:


Copyright © 2003-2012 The Apache Software Foundation.