先頭には区切り文字が挿入されない。
@param separator 区切り文字 @return パス文字列 @throws IllegalArgumentException 引数に{@code null}が指定された場合The first invocation of this method works as if invoking it were equivalent to evaluating the expression:
Subsequent invocations of this method return the same {@code Path}.{@link java.nio.file.FileSystems#getDefault FileSystems.getDefault}(). {@link java.nio.file.FileSystem#getPath getPath}(this. {@link #getPath getPath}());
If this abstract pathname is the empty abstract pathname then this method returns a {@code Path} that may be used to access the currentuser directory. @return a {@code Path} constructed from this abstract path @throws java.nio.file.InvalidPathException if a {@code Path} object cannot be constructed from the abstractpath (see {@link java.nio.file.FileSystem#getPath FileSystem.getPath}) @since 1.7 @see Path#toFile
|
|
|
|
|
|
|
|