Class ClassPathResourceFinder

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

    public class ClassPathResourceFinder
    extends java.lang.Object
    implements org.apache.wicket.util.file.IResourceFinder
    An IResourceFinder that looks in a folder in the classpath.
    Author:
    Carl-Eric Menzel
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.apache.wicket.util.resource.IResourceStream find​(java.lang.Class<?> clazz, java.lang.String path)  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • ClassPathResourceFinder

        public ClassPathResourceFinder​(java.lang.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​(java.lang.Class<?> clazz,
                                                                    java.lang.String path)
        Specified by:
        find in interface org.apache.wicket.util.file.IResourceFinder
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object