equal
deleted
inserted
replaced
33 * by converting a path string or {@link URI}. |
33 * by converting a path string or {@link URI}. |
34 * |
34 * |
35 * @since 1.7 |
35 * @since 1.7 |
36 */ |
36 */ |
37 |
37 |
38 public class Paths { |
38 public final class Paths { |
39 private Paths() { } |
39 private Paths() { } |
40 |
40 |
41 /** |
41 /** |
42 * Constructs a {@code Path} by converting the given path string. |
42 * Constructs a {@code Path} by converting the given path string. |
43 * |
43 * |
104 * |
104 * |
105 * @throws IllegalArgumentException |
105 * @throws IllegalArgumentException |
106 * if preconditions on the {@code uri} parameter do not hold. The |
106 * if preconditions on the {@code uri} parameter do not hold. The |
107 * format of the URI is provider specific. |
107 * format of the URI is provider specific. |
108 * @throws FileSystemNotFoundException |
108 * @throws FileSystemNotFoundException |
109 * if the file system identified by the URI does not exist or the |
109 * The file system, identified by the URI, does not exist and |
110 * provider identified by the URI's scheme component is not installed |
110 * cannot be created automatically, or the provider identified by |
|
111 * the URI's scheme component is not installed |
111 * @throws SecurityException |
112 * @throws SecurityException |
112 * if a security manager is installed and it denies an unspecified |
113 * if a security manager is installed and it denies an unspecified |
113 * permission to access the file system |
114 * permission to access the file system |
114 */ |
115 */ |
115 public static Path get(URI uri) { |
116 public static Path get(URI uri) { |