org.apache.wicket.core.util.resource
Class ClassPathResourceFinder

java.lang.Object
  extended by org.apache.wicket.core.util.resource.ClassPathResourceFinder
All Implemented Interfaces:
IResourceFinder

public class ClassPathResourceFinder
extends Object
implements IResourceFinder

An IResourceFinder that looks in a folder in the classpath.

Author:
Carl-Eric Menzel

Constructor Summary
ClassPathResourceFinder(String prefix)
           
 
Method Summary
 IResourceStream find(Class<?> clazz, String path)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ClassPathResourceFinder

public ClassPathResourceFinder(String prefix)
Parameters:
prefix - The path prefix. May be null or empty to look in the classpath root.
Method Detail

find

public IResourceStream find(Class<?> clazz,
                            String path)
Specified by:
find in interface IResourceFinder

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2006-2013 Apache Software Foundation. All Rights Reserved.