Returns the directory path (all characters up to the last slash). No check will be performed if the directory exists. @return directory path
()
| 318 | * @return directory path |
| 319 | */ |
| 320 | public final String dir() { |
| 321 | return pth.substring(0, pth.lastIndexOf('/') + 1); |
| 322 | } |
| 323 | |
| 324 | /** |
| 325 | * Creates a URL from the specified path. |