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 we18 * are in a web application context or outside of one (for example for unit19 * testing)</p>20 * <p>Copyright: Copyright (c) 2004</p>21 * <p>Company: Jahia Ltd</p>22 * @author Serge Huber23 * @version 1.024 */25 public interface PathResolver {26 27 /**28 * Resolves a path29 * @param relativePath String30 * @return String31 */32 public String resolvePath (String relativePath);33 34 }35