Class ClassPathResourceFinder

  • All Implemented Interfaces:
    org.apache.wicket.util.file.IResourceFinder

    public class ClassPathResourceFinder
    extends Object
    implements org.apache.wicket.util.file.IResourceFinder
    An IResourceFinder that looks in a folder in the classpath.
    Author:
    Carl-Eric Menzel
    • 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 org.apache.wicket.util.resource.IResourceStream find​(Class<?> clazz,
                                                                    String path)
        Specified by:
        find in interface org.apache.wicket.util.file.IResourceFinder