01: /*
02: * $Id$ $Revision$ $Date$
03: *
04: * ==============================================================================
05: * Licensed under the Apache License, Version 2.0 (the "License"); you may not
06: * use this file except in compliance with the License. You may obtain a copy of
07: * the License at
08: *
09: * http://www.apache.org/licenses/LICENSE-2.0
10: *
11: * Unless required by applicable law or agreed to in writing, software
12: * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
13: * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
14: * License for the specific language governing permissions and limitations under
15: * the License.
16: */
17: package wicket.util.file;
18:
19: import java.net.URL;
20:
21: /**
22: * Knows how to find resources.
23: *
24: * @author jcompagner
25: */
26: public interface IResourceFinder {
27: /**
28: * Looks for a given pathname along this path
29: *
30: * @param pathname
31: * The filename with possible path
32: * @return The url located on the path
33: */
34: URL find(final String pathname);
35: }
|