/libcore/ojluni/src/main/java/java/nio/file/ |
H A D | FileSystemLoopException.java | 8 * 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 D | NotDirectoryException.java | 8 * 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 D | CopyOption.java | 8 * 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 D | OpenOption.java | 8 * 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 D | AccessDeniedException.java | 8 * 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 D | FileAlreadyExistsException.java | 8 * 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 D | NoSuchFileException.java | 8 * 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 D | NotLinkException.java | 8 * 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 D | ClosedDirectoryStreamException.java | 8 * 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 D | ClosedFileSystemException.java | 8 * 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 D | ClosedWatchServiceException.java | 8 * 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 D | FileVisitOption.java | 8 * 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 D | LinkOption.java | 8 * 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 D | ReadOnlyFileSystemException.java | 8 * 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 D | FileAttributeView.java | 8 * 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 D | FileStoreAttributeView.java | 8 * 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 D | GroupPrincipal.java | 8 * 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 D | UserPrincipal.java | 8 * 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 D | DirectoryIteratorExceptionTest.java | 5 * 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 D | FileSystemAlreadyExistsExceptionTest.java | 5 * 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 D | PathsTest.java | 5 * 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 D | ProviderNotFoundExceptionTest.java | 5 * 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 D | AclEntryTest.java | 5 * 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 D | UserPrincipalNotFoundExceptionTest.java | 5 * 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 D | FileTypeDetectorTest.java | 1 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")));
|