Searched defs:file (Results 51 - 75 of 182) sorted by relevance

12345678

/libcore/luni/src/test/java/libcore/java/nio/file/
H A DFileSystemLoopExceptionTest.java5 * you may not use this file except in compliance with the License.
17 package libcore.java.nio.file;
22 import java.nio.file.FileSystemException;
23 import java.nio.file.FileSystemLoopException;
29 FileSystemLoopException exception = new FileSystemLoopException("file");
30 assertEquals("file", exception.getFile());
73 assertEquals("file", exception.getFile());
H A DFileSystemNotFoundExceptionTest.java5 * you may not use this file except in compliance with the License.
17 package libcore.java.nio.file;
21 import java.nio.file.FileSystemNotFoundException;
H A DLinkPermissionTest.java5 * you may not use this file except in compliance with the License.
17 package libcore.java.nio.file;
21 import java.nio.file.LinkPermission;
H A DNotDirectoryExceptionTest.java5 * you may not use this file except in compliance with the License.
17 package libcore.java.nio.file;
22 import java.nio.file.FileSystemException;
23 import java.nio.file.NotDirectoryException;
28 NotDirectoryException exception = new NotDirectoryException("file");
29 assertEquals("file", exception.getFile());
75 assertEquals("file", exception.getFile());
H A DProviderMismatchExceptionTest.java5 * you may not use this file except in compliance with the License.
17 package libcore.java.nio.file;
21 import java.nio.file.ProviderMismatchException;
H A DSimpleFileVisitorTest.java5 * you may not use this file except in compliance with the License.
17 package libcore.java.nio.file;
22 import java.nio.file.FileVisitResult;
23 import java.nio.file.Path;
24 import java.nio.file.SimpleFileVisitor;
25 import java.nio.file.attribute.BasicFileAttributes;
/libcore/ojluni/src/main/java/com/sun/nio/file/
H A DExtendedOpenOption.java8 * particular file as subject to the "Classpath" exception as provided
9 * by Oracle in the LICENSE file that accompanied this code.
14 * version 2 for more details (a copy is included in the LICENSE file that
26 package com.sun.nio.file;
28 import java.nio.file.OpenOption;
39 * Prevent operations on the file that request read access.
43 * Prevent operations on the file that request write access.
47 * Prevent operations on the file that request delete access.
H A DSensitivityWatchEventModifier.java8 * particular file as subject to the "Classpath" exception as provided
9 * by Oracle in the LICENSE file that accompanied this code.
14 * version 2 for more details (a copy is included in the LICENSE file that
26 package com.sun.nio.file;
28 import java.nio.file.WatchEvent.Modifier;
32 * watch service implementation that polls the file system.
/libcore/ojluni/src/main/java/java/nio/file/
H A DAtomicMoveNotSupportedException.java8 * particular file as subject to the "Classpath" exception as provided
9 * by Oracle in the LICENSE file that accompanied this code.
14 * version 2 for more details (a copy is included in the LICENSE file that
26 package java.nio.file;
29 * Checked exception thrown when a file cannot be moved as an atomic file system
44 * a string identifying the source file or {@code null} if not known
46 * a string identifying the target file or {@code null} if not known
H A DDirectoryIteratorException.java8 * particular file as subject to the "Classpath" exception as provided
9 * by Oracle in the LICENSE file that accompanied this code.
14 * version 2 for more details (a copy is included in the LICENSE file that
26 package java.nio.file;
H A DDirectoryStream.java8 * particular file as subject to the "Classpath" exception as provided
9 * by Oracle in the LICENSE file that accompanied this code.
14 * version 2 for more details (a copy is included in the LICENSE file that
26 package java.nio.file;
86 * <p> The elements returned by the iterator are in no specific order. Some file
H A DFileVisitResult.java8 * particular file as subject to the "Classpath" exception as provided
9 * by Oracle in the LICENSE file that accompanied this code.
14 * version 2 for more details (a copy is included in the LICENSE file that
26 package java.nio.file;
55 * Continue without visiting the <em>siblings</em> of this file or directory.
H A DLinkPermission.java8 * particular file as subject to the "Classpath" exception as provided
9 * by Oracle in the LICENSE file that accompanied this code.
14 * version 2 for more details (a copy is included in the LICENSE file that
26 package java.nio.file;
45 * <td> Ability to add an existing file to a directory. This is sometimes
48 * linking to any file or directory in the file system thus allowing the
55 * linking to any file or directory in the file system thus allowing the
H A DPaths.java8 * particular file as subject to the "Classpath" exception as provided
9 * by Oracle in the LICENSE file that accompanied this code.
14 * version 2 for more details (a copy is included in the LICENSE file that
26 package java.nio.file;
28 import java.nio.file.spi.FileSystemProvider;
68 * Path path = dir.resolve("file");
98 * "file", the given URI has a non-empty path component, and undefined query
101 * {@link FileSystems#getDefault default} file system.
124 * The file system, identified by the URI, does not exist and
129 * permission to access the file syste
[all...]
H A DWatchKey.java8 * particular file as subject to the "Classpath" exception as provided
9 * by Oracle in the LICENSE file that accompanied this code.
14 * version 2 for more details (a copy is included in the LICENSE file that
26 package java.nio.file;
140 * native file event notification facility (where available) then many of
143 * directory is moved or renamed in the file system, there is no guarantee
H A DWatchService.java8 * particular file as subject to the "Classpath" exception as provided
9 * by Oracle in the LICENSE file that accompanied this code.
14 * version 2 for more details (a copy is included in the LICENSE file that
26 package java.nio.file;
34 * events. For example a file manager may use a watch service to monitor a
53 * or its file system is no longer accessible. When a key is cancelled in this
74 * <p> When an event is reported to indicate that a file in a watched directory
76 * that have modified the file have completed. Care should be taken to coordinate
77 * access with other programs that may be updating the file.
79 * to lock regions of a file agains
[all...]
H A DWatchable.java8 * particular file as subject to the "Classpath" exception as provided
9 * by Oracle in the LICENSE file that accompanied this code.
14 * version 2 for more details (a copy is included in the LICENSE file that
26 package java.nio.file;
50 * <p> If the file system object identified by this object is currently
59 * <p> Otherwise the file system object has not yet been registered with the
/libcore/ojluni/src/main/java/java/nio/file/attribute/
H A DAclEntryFlag.java8 * particular file as subject to the "Classpath" exception as provided
9 * by Oracle in the LICENSE file that accompanied this code.
14 * version 2 for more details (a copy is included in the LICENSE file that
26 package java.nio.file.attribute;
42 * added to each new non-directory file created.
H A DAclEntryType.java8 * particular file as subject to the "Classpath" exception as provided
9 * by Oracle in the LICENSE file that accompanied this code.
14 * version 2 for more details (a copy is included in the LICENSE file that
26 package java.nio.file.attribute;
36 * Explicitly grants access to a file or directory.
41 * Explicitly denies access to a file or directory.
H A DAclFileAttributeView.java8 * particular file as subject to the "Classpath" exception as provided
9 * by Oracle in the LICENSE file that accompanied this code.
14 * version 2 for more details (a copy is included in the LICENSE file that
26 package java.nio.file.attribute;
28 import java.nio.file.*;
33 * A file attribute view that supports reading or updating a file's Access
34 * Control Lists (ACL) or file owner attributes.
36 * <p> ACLs are used to specify access rights to file system objects. An ACL is
39 * file attribut
[all...]
H A DDosFileAttributes.java8 * particular file as subject to the "Classpath" exception as provided
9 * by Oracle in the LICENSE file that accompanied this code.
14 * version 2 for more details (a copy is included in the LICENSE file that
26 package java.nio.file.attribute;
29 * File attributes associated with a file in a file system that supports
34 * Path file = ...
35 * DosFileAttributes attrs = Files.readAttributes(file, DosFileAttributes.class);
48 * to prevent files from being deleted or updated. Whether the file system
59 * <p> This attribute is often used to indicate if the file i
[all...]
H A DFileOwnerAttributeView.java8 * particular file as subject to the "Classpath" exception as provided
9 * by Oracle in the LICENSE file that accompanied this code.
14 * version 2 for more details (a copy is included in the LICENSE file that
26 package java.nio.file.attribute;
31 * A file attribute view that supports reading or updating the owner of a file.
32 * This file attribute view is intended for file system implementations that
33 * support a file attribute that represents an identity that is the owner of
34 * the file
[all...]
H A DPosixFileAttributes.java8 * particular file as subject to the "Classpath" exception as provided
9 * by Oracle in the LICENSE file that accompanied this code.
14 * version 2 for more details (a copy is included in the LICENSE file that
26 package java.nio.file.attribute;
31 * File attributes associated with files on file systems used by operating systems
35 * <p> The POSIX attributes of a file are retrieved using a {@link
46 * Returns the owner of the file.
48 * @return the file owner
55 * Returns the group owner of the file.
57 * @return the file grou
[all...]
H A DUserPrincipalLookupService.java8 * particular file as subject to the "Classpath" exception as provided
9 * by Oracle in the LICENSE file that accompanied this code.
14 * version 2 for more details (a copy is included in the LICENSE file that
26 package java.nio.file.attribute;
33 * in a file system. A {@link GroupPrincipal} represents a <em>group identity</em>.
50 * @see java.nio.file.FileSystem#getUserPrincipalLookupService
H A DUserPrincipalNotFoundException.java8 * particular file as subject to the "Classpath" exception as provided
9 * by Oracle in the LICENSE file that accompanied this code.
14 * version 2 for more details (a copy is included in the LICENSE file that
26 package java.nio.file.attribute;

Completed in 179 milliseconds

12345678