/libcore/ojluni/src/test/java/nio/file/attribute/ |
H A D | BasicFileAttributeViewTest.java | 56 check(!attrs.isSymbolicLink(), "is not a link"); 71 check(!attrs.isSymbolicLink(), "is not a link"); 96 static void checkAttributesOfLink(Path link) argument 100 Files.readAttributes(link, BasicFileAttributes.class, LinkOption.NOFOLLOW_LINKS); 101 check(attrs.isSymbolicLink(), "is a link"); 121 Path link = dir.resolve("link"); 123 Files.createSymbolicLink(link, file); 129 checkAttributesOfLink(link);
|
/libcore/ojluni/src/main/java/java/nio/file/spi/ |
H A D | FileSystemProvider.java | 41 * Service-provider class for file systems. The methods defined by the {@link 47 * identified by a {@code URI} {@link #getScheme() scheme}. The default provider 48 * is identified by the URI scheme "file". It creates the {@link FileSystem} that 50 * The {@link FileSystems} class defines how file system providers are located 58 * <p> A provider is a factory for one or more {@link FileSystem} instances. Each 60 * the provider's {@link #getScheme scheme}. The default file system, for example, 63 * The {@link #newFileSystem newFileSystem} method may be used to create a file 64 * system, and the {@link #getFileSystem getFileSystem} method may be used to 105 * {@link RuntimePermission}<tt>("fileSystemProvider")</tt> 144 * providers as described by the {@link FileSystem 651 createSymbolicLink(Path link, Path target, FileAttribute<?>... attrs) argument 685 createLink(Path link, Path existing) argument 770 readSymbolicLink(Path link) argument [all...] |
/libcore/luni/src/main/java/libcore/io/ |
H A D | BlockGuardOs.java | 180 @Override public void link(String oldPath, String newPath) throws ErrnoException { method in class:BlockGuardOs 182 os.link(oldPath, newPath);
|
H A D | ForwardingOs.java | 48 * Subclass this if you want to override some {@link Os} methods but otherwise delegate. 124 public void link(String oldPath, String newPath) throws ErrnoException { os.link(oldPath, newPath); } method in class:ForwardingOs
|
H A D | Linux.java | 115 public native void link(String oldPath, String newPath) throws ErrnoException; method in class:Linux
|
H A D | Os.java | 110 public void link(String oldPath, String newPath) throws ErrnoException; method in interface:Os
|
/libcore/ojluni/src/main/java/java/nio/file/ |
H A D | Files.java | 118 * will not be buffered, and is not required to support the {@link 119 * InputStream#mark mark} or {@link InputStream#reset reset} methods. The 127 * the {@link StandardOpenOption#READ READ} option. In addition to the {@code 146 * installed, the {@link SecurityManager#checkRead(String) checkRead} 164 * by the {@link #newByteChannel(Path,Set,FileAttribute[]) newByteChannel} 165 * method with the exception that the {@link StandardOpenOption#READ READ} 167 * present then this method works as if the {@link StandardOpenOption#CREATE 168 * CREATE}, {@link StandardOpenOption#TRUNCATE_EXISTING TRUNCATE_EXISTING}, 169 * and {@link StandardOpenOption#WRITE WRITE} options are present. In other 171 * exist, or initially truncating an existing {@link #isRegularFil 1039 createSymbolicLink(Path link, Path target, FileAttribute<?>... attrs) argument 1085 createLink(Path link, Path existing) argument 1431 readSymbolicLink(Path link) argument [all...] |
/libcore/ojluni/src/main/java/sun/nio/fs/ |
H A D | UnixNativeDispatcher.java | 120 * link(const char* existing, const char* new) 122 static void link(UnixPath existing, UnixPath newfile) throws UnixException { method in class:UnixNativeDispatcher 237 * @return link target
|
/libcore/luni/src/main/java/android/system/ |
H A D | Os.java | 33 * <p>The corresponding constants can be found in {@link OsConstants}. 291 * See <a href="http://man7.org/linux/man-pages/man2/link.2.html">link(2)</a>. 293 public static void link(String oldPath, String newPath) throws ErrnoException { Libcore.os.link(oldPath, newPath); } method in class:Os
|
/libcore/ojluni/src/main/java/java/util/concurrent/ |
H A D | ConcurrentSkipListMap.java | 62 // removed link to collections framework docs 66 * A scalable concurrent {@link ConcurrentNavigableMap} implementation. 68 * ordering} of its keys, or by a {@link Comparator} provided at map 104 * <em>optional</em> methods of the {@link Map} and {@link Iterator} 164 * link. This requires less space and supports faster 246 * using CAS to link and unlink. Races are allowed in index-list 247 * operations that can (rarely) fail to link in a new index node 594 * indexed is known to be deleted, it doesn't try to link in. 599 final boolean link(Inde method in class:ConcurrentSkipListMap.Index [all...] |
/libcore/ojluni/src/main/native/ |
H A D | UnixNativeDispatcher.c | 758 RESTARTABLE(link(existing, newname), err); 830 const char* link = (const char*)jlong_to_ptr(linkAddress); local 833 if (symlink(target, link) == -1) {
|