1 /*
2 * $Id: IPath.java,v 1.1 2007/10/30 13:46:41 oeuillot Exp $
3 */
4 package org.rcfaces.core.internal.util;
5
6 /**
7 *
8 * @author Olivier Oeuillot (latest modification by $Author: oeuillot $)
9 * @version $Revision: 1.1 $ $Date: 2007/10/30 13:46:41 $
10 */
11 public interface IPath {
12
13 IPath makeAbsolute();
14
15 IPath makeRelative();
16
17 boolean isAbsolute();
18
19 String lastSegment();
20
21 IPath append(IPath path);
22
23 IPath removeFirstSegments(int count);
24
25 IPath removeLastSegments(int count);
26
27 String segment(int index);
28
29 int segmentCount();
30
31 String[] segments();
32
33 IPath uptoSegment(int count);
34 }