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

1234567891011>>

/openjdk7/jdk/src/share/classes/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 Dpackage-info.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
28 * file attributes, and file systems.
30 * <p> The java.nio.file package defines classes to access files and file
31 * systems. The API to access file and file system attributes is defined in the
32 * {@link java.nio.file
[all...]
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;
/openjdk7/jdk/src/share/classes/java/nio/file/attribute/
H A Dpackage-info.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
27 * Interfaces and classes providing access to file and file system attributes.
31 * <tr><td valign=top><tt><i>{@link java.nio.file.attribute.AttributeView}</i></tt></td>
32 * <td>Can read or update non-opaque values associated with objects in a file system</td></tr>
33 * <tr><td valign=top><tt>&nbsp;&nbsp;<i>{@link java.nio.file.attribute.FileAttributeView}</i></tt></td>
34 * <td>Can read or update file attributes</td></tr>
35 * <tr><td valign=top><tt>&nbsp;&nbsp;&nbsp;&nbsp;<i>{@link java.nio.file
[all...]
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...]
/openjdk7/jdk/src/share/classes/java/nio/file/spi/
H A Dpackage-info.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
27 * Service-provider classes for the <tt>{@link java.nio.file}</tt> package.
29 * <p> Only developers who are defining new file system providers or file type
39 package java.nio.file.spi;
/openjdk7/jaxws/src/share/jaxws_classes/javax/jws/
H A DHandlerChain.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
46 * Location of the handler chain file.
51 * <li>A relative path from the source file or class file (ex: bar/handlerfile1.xml).
54 String file(); method in interface:HandlerChain
57 * Name of the handler chain in the configuration file
/openjdk7/jdk/test/java/nio/file/Files/probeContentType/
H A DSimpleFileTypeDetector.java12 * version 2 for more details (a copy is included in the LICENSE file that
24 import java.nio.file.*;
25 import java.nio.file.spi.FileTypeDetector;
33 public String probeContentType(Path file) throws IOException { argument
34 System.out.println("probe " + file + "...");
35 String name = file.toString();
/openjdk7/jdk/test/java/rmi/activation/Activatable/shutdownGracefully/
H A DTestSecurityManager.java12 * version 2 for more details (a copy is included in the LICENSE file that
36 public void checkWrite(String file) { argument
37 if (file.endsWith("log" + File.separatorChar + "Snapshot.6")) {
38 System.out.println("writing file: " + file + " simulating log failure");
43 public void checkRead(String file) { argument
44 if (file.endsWith("log" + File.separatorChar + "Logfile.6"))
46 System.out.println("reading file: " + file + " simulating log failure");
/openjdk7/jdk/test/tools/launcher/
H A DUnicodeCleanup.java12 * version 2 for more details (a copy is included in the LICENSE file that
30 * Recursively deletes the given file/directory and its contents.
51 private static void delete(File file) { argument
53 String name = file.toString();
59 if (file.isDirectory()) {
60 File[] contents = file.listFiles();
65 if (!file.delete()) {
66 throw new RuntimeException("Unable to delete " + file);

Completed in 1095 milliseconds

1234567891011>>