Searched refs:file (Results 1 - 25 of 1222) sorted by relevance

1234567891011>>

/openjdk7/jdk/src/share/demo/scripting/jconsole-plugin/src/scripts/
H A Dheapdump.js42 * This file defines heapdump function to heap dump
55 * @param file heap dump file name [optional]
57 function heapdump(file) {
58 // no file specified, show file open dialog
59 if (file == undefined) {
60 file = fileDialog();
62 if (file == null) return;
75 // dump the heap in the file
[all...]
/openjdk7/jdk/src/macosx/native/jobjc/
H A Dextract_classes.pl9 # particular file as subject to the "Classpath" exception as provided
10 # by Oracle in the LICENSE file that accompanied this code.
15 # version 2 for more details (a copy is included in the LICENSE file that
30 foreach $file (@file_list) {
31 if ($file =~ s/\.class//) {
32 if ($file !~ s/\$[0-9]//) {
33 $file =~ s/$file_dir\///g;
34 $file =~ s/\//\./g;
35 chomp($file);
36 print "$file,";
[all...]
/openjdk7/jdk/src/share/classes/java/nio/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 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 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 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 DFileSystemException.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;
31 * Thrown when a file system operation fails on one or two files. This class is
32 * the general class for file system exceptions.
42 private final String file; field in class:FileSystemException
47 * when an operation involving one file fails and there isn't any additional
50 * @param file
51 * a string identifying the file o
53 FileSystemException(String file) argument
72 FileSystemException(String file, String other, String reason) argument
[all...]
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/debugger/
H A DRandomAccessFileDataSource.java12 * version 2 for more details (a copy is included in the LICENSE file that
31 public RandomAccessFileDataSource(RandomAccessFile file) { argument
32 this.file = file;
35 public byte readByte() throws IOException { return file.readByte(); }
36 public short readShort() throws IOException { return file.readShort(); }
37 public int readInt() throws IOException { return file.readInt(); }
38 public long readLong() throws IOException { return file.readLong(); }
39 public int read(byte[] b) throws IOException { return file.read(b); }
40 public void seek(long pos) throws IOException { file
44 private RandomAccessFile file; field in class:RandomAccessFileDataSource
[all...]
/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...]
/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/jdk/test/java/io/FileInputStream/
H A DLeadingSlash.java12 * version 2 for more details (a copy is included in the LICENSE file that
28 * a leading slash in file name.
36 File file = null;
38 file = File.createTempFile("bug", "4487368");
39 new FileInputStream("\\" + file.getPath()).close();
40 new FileOutputStream("\\" + file.getPath()).close();
42 if (file != null)
43 file.delete();
/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/src/share/classes/sun/security/action/
H A DOpenFileInputStreamAction.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
40 private final File file; field in class:OpenFileInputStreamAction
42 public OpenFileInputStreamAction(File file) { argument
43 this.file = file;
47 this.file = new File(filename);
51 return new FileInputStream(file);
/openjdk7/hotspot/src/share/vm/utilities/
H A Ddecoder_elf.cpp12 * version 2 for more details (a copy is included in the LICENSE file that
38 assert(filepath, "null file path");
41 ElfFile* file = get_elf_file(filepath);
42 if (file == NULL) {
46 if (!file->decode(addr, buf, buflen, offset)) {
56 ElfFile* file; local
58 file = _opened_elf_files;
59 while (file != NULL) {
60 if (file->same_elf_file(filepath)) {
61 return file;
[all...]
/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/io/File/
H A DDeleteOnExitLong.java12 * version 2 for more details (a copy is included in the LICENSE file that
33 File file = new File("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa_DeletedOnExitLong").getCanonicalFile();
34 file.createNewFile();
35 file.deleteOnExit();
/openjdk7/jdk/src/share/classes/com/sun/nio/file/
H A DExtendedCopyOption.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.CopyOption;
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 DExtendedWatchEventModifier.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;
40 * Register a file tree instead of a single directory.

Completed in 145 milliseconds

1234567891011>>