KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jahia > utils > PathResolver


1 //
2
// ____.
3
// __/\ ______| |__/\. _______
4
// __ .____| | \ | +----+ \
5
// _______| /--| | | - \ _ | : - \_________
6
// \\______: :---| : : | : | \________>
7
// |__\---\_____________:______: :____|____:_____\
8
// /_____|
9
//
10
// . . . i n j a h i a w e t r u s t . . .
11
//
12

13 package org.jahia.utils;
14
15 /**
16  * <p>Title: Path resolver</p>
17  * <p>Description: Use to resolve paths differently depending on whether we
18  * are in a web application context or outside of one (for example for unit
19  * testing)</p>
20  * <p>Copyright: Copyright (c) 2004</p>
21  * <p>Company: Jahia Ltd</p>
22  * @author Serge Huber
23  * @version 1.0
24  */

25 public interface PathResolver {
26
27     /**
28      * Resolves a path
29      * @param relativePath String
30      * @return String
31      */

32     public String JavaDoc resolvePath (String JavaDoc relativePath);
33
34 }
35
Popular Tags