Searched defs:file (Results 1 - 25 of 182) sorted by relevance

12345678

/libcore/ojluni/src/main/java/java/nio/file/
H A DFileSystemLoopException.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 system loop, or cycle, is encountered.
43 * @param file
44 * a string identifying the file causing the cycle or {@code null} if
47 public FileSystemLoopException(String file) { argument
48 super(file);
H A DNotDirectoryException.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 system operation, intended for a
30 * directory, fails because the file is not a directory.
43 * @param file
44 * a string identifying the file or {@code null} if not known
46 public NotDirectoryException(String file) { argument
47 super(file);
[all...]
H A DCopyOption.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 * An object that configures how to copy or move a file.
35 * Files.move(Path,Path,CopyOption...)} methods to configure how a file is
H A DOpenOption.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 * An object that configures how to open or create a file.
36 * when opening or creating a file.
H A DAccessDeniedException.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 system operation is denied, typically
30 * due to a file permission or other access check.
35 * access to a file is denied.
48 * @param file
49 * a string identifying the file or {@code null} if not known
51 public AccessDeniedException(String file) { argument
65 AccessDeniedException(String file, String other, String reason) argument
[all...]
H A DFileAlreadyExistsException.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 an attempt is made to create a file or
30 * directory and a file of that name already exists.
43 * @param file
44 * a string identifying the file or {@code null} if not known
46 public FileAlreadyExistsException(String file) { argument
47 super(file);
60 FileAlreadyExistsException(String file, String other, String reason) argument
[all...]
H A DNoSuchFileException.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 an attempt is made to access a file that does
43 * @param file
44 * a string identifying the file or {@code null} if not known.
46 public NoSuchFileException(String file) { argument
47 super(file);
53 * @param file
60 NoSuchFileException(String file, String other, String reason) argument
[all...]
H A DNotLinkException.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 system operation fails because a file
43 * @param file
44 * a string identifying the file or {@code null} if not known
46 public NotLinkException(String file) { argument
47 super(file);
60 NotLinkException(String file, String other, String reason) argument
[all...]
H A DClosedDirectoryStreamException.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 DClosedFileSystemException.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;
30 * a file and the file system is closed.
H A DClosedWatchServiceException.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 DFileVisitOption.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 * Defines the file tree traversal options.
H A DLinkOption.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 DReadOnlyFileSystemException.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;
/libcore/ojluni/src/main/java/java/nio/file/attribute/
H A DFileAttributeView.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;
30 * values associated with a file in a filesystem. This interface is extended or
31 * implemented by specific file attribute views that define methods to read
32 * and/or update the attributes of a file.
36 * @see java.nio.file.Files#getFileAttributeView(Path,Class,java.nio.file.LinkOption[])
H A DFileStoreAttributeView.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;
30 * a {@link java.nio.file.FileStore}.
H A DGroupPrincipal.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;
30 * determine access rights to objects in a file system. The exact definition of
H A DUserPrincipal.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;
32 * to objects in a file system.
34 * <p> On many platforms and file systems an entity requires appropriate access
35 * rights or permissions in order to access objects in a file system. The
38 * enforce privilege separation then a file in the file system may have an
48 * PosixFileAttributeView} provide access to a file'
[all...]
/libcore/luni/src/test/java/libcore/java/nio/file/
H A DDirectoryIteratorExceptionTest.java5 * you may not use this file except in compliance with the License.
17 package libcore.java.nio.file;
22 import java.nio.file.DirectoryIteratorException;
H A DFileSystemAlreadyExistsExceptionTest.java5 * you may not use this file except in compliance with the License.
17 package libcore.java.nio.file;
21 import java.nio.file.FileSystemAlreadyExistsException;
H A DPathsTest.java5 * you may not use this file except in compliance with the License.
17 package libcore.java.nio.file;
24 import java.nio.file.Paths;
27 import static libcore.java.nio.file.LinuxFileSystemTestData.*;
28 import static libcore.java.nio.file.LinuxFileSystemTestData.getPathInputOutputTestData;
H A DProviderNotFoundExceptionTest.java5 * you may not use this file except in compliance with the License.
17 package libcore.java.nio.file;
21 import java.nio.file.ProviderNotFoundException;
/libcore/luni/src/test/java/libcore/java/nio/file/attribute/
H A DAclEntryTest.java5 * you may not use this file except in compliance with the License.
17 package libcore.java.nio.file.attribute;
23 import java.nio.file.attribute.AclEntry;
24 import java.nio.file.attribute.UserPrincipal;
25 import java.nio.file.attribute.AclEntryType;
26 import java.nio.file.attribute.AclEntryPermission;
27 import java.nio.file.attribute.AclEntryFlag;
28 import java.nio.file.Files;
29 import java.nio.file.Paths;
H A DUserPrincipalNotFoundExceptionTest.java5 * you may not use this file except in compliance with the License.
17 package libcore.java.nio.file.attribute;
22 import java.nio.file.attribute.UserPrincipalNotFoundException;
/libcore/luni/src/test/java/libcore/java/nio/file/spi/
H A DFileTypeDetectorTest.java1 package libcore.java.nio.file.spi;
5 import java.nio.file.Paths;
6 import java.nio.file.spi.FileTypeDetector;
15 // The method uses file extensions to deduce mime type, therefore, it doesn't check for
16 // file existence.
18 defaultFileTypeDetector.probeContentType(Paths.get("file.txt")));
20 defaultFileTypeDetector.probeContentType(Paths.get("file.java")));

Completed in 233 milliseconds

12345678