Your browser does not support JavaScript and this site utilizes JavaScript to build content and provide links to additional information. You should either enable JavaScript in your browser settings or use a browser that supports JavaScript in order to take full advantage of this site.
1 11 package org.eclipse.core.runtime; 12 13 39 public interface IPath extends Cloneable { 40 41 44 public static final char SEPARATOR = '/'; 45 46 49 public static final char DEVICE_SEPARATOR = ':'; 50 51 68 public IPath addFileExtension(String extension); 69 70 83 public IPath addTrailingSeparator(); 84 85 100 public IPath append(String path); 101 102 115 public IPath append(IPath path); 116 117 122 public Object clone(); 123 124 137 public boolean equals(Object obj); 138 139 146 public String getDevice(); 147 148 161 public String getFileExtension(); 162 163 175 public boolean hasTrailingSeparator(); 176 177 189 public boolean isAbsolute(); 190 191 198 public boolean isEmpty(); 199 200 213 public boolean isPrefixOf(IPath anotherPath); 214 215 226 public boolean isRoot(); 227 228 236 public boolean isUNC(); 237 238 253 public boolean isValidPath(String path); 254 255 270 public boolean isValidSegment(String segment); 271 272 278 public String lastSegment(); 279 280 287 public IPath makeAbsolute(); 288 289 296 public IPath makeRelative(); 297 298 308 public IPath makeUNC(boolean toUNC); 309 310 318 public int matchingFirstSegments(IPath anotherPath); 319 320 334 public IPath removeFileExtension(); 335 336 348 public IPath removeFirstSegments(int count); 349 350 368 public IPath removeLastSegments(int count); 369 370 384 public IPath removeTrailingSeparator(); 385 386 393 public String segment(int index); 394 395 403 public int segmentCount(); 404 405 410 public String [] segments(); 411 412 424 public IPath setDevice(String device); 425 426 431 public java.io.File toFile(); 432 433 444 public String toOSString(); 445 446 459 public String toPortableString(); 460 461 486 public String toString(); 487 488 504 public IPath uptoSegment(int count); 505 } 506
| Popular Tags
|