class PathPrefixUtil {

	public static String strip(HibBranch branch, String path) {
		String prefix = branch.getPathPrefix();
		prefix = sanitize(prefix);
		return !startsWithPrefix(branch, path) ? path : path.substring(prefix.length());
	}

	private  PathPrefixUtil();

}