jdk/src/share/classes/java/nio/file/Paths.java
changeset 3065 452aaa2899fc
parent 2072 80dfe4469bbd
child 5506 202f599c92aa
equal deleted inserted replaced
3063:a3fd491f7754 3065:452aaa2899fc
    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) {