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

1234567891011>>

/openjdk10/jdk/src/java.base/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...]
/openjdk10/nashorn/test/script/basic/
H A DJDK-8008554.js12 * version 2 for more details (a copy is included in the LICENSE file that
26 * JDK-8008554: Try loading another output free test in this dir both as file and as url
33 var file = __FILE__.replace("JDK-8008554", "NASHORN-99"); variable
34 load(file);
35 file = "file:///" + __DIR__ + "NASHORN-99.js";
36 load(file);
/openjdk10/jdk/src/java.base/share/native/libzip/zlib/
H A Dgzclose.c7 * particular file as subject to the "Classpath" exception as provided
8 * by Oracle in the LICENSE file that accompanied this code.
13 * version 2 for more details (a copy is included in the LICENSE file that
32 /* gzclose() is in a separate file so that it is linked in only if it is used.
35 int ZEXPORT gzclose(file)
36 gzFile file;
41 if (file == NULL)
43 state = (gz_statep)file;
45 return state->mode == GZ_READ ? gzclose_r(file) : gzclose_w(file);
[all...]
/openjdk10/hotspot/src/jdk.hotspot.agent/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...]
/openjdk10/jdk/src/java.base/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.
36 * <tr><th scope="row"><i>{@link java.nio.file.attribute.AttributeView}</i></th>
37 * <td>Can read or update non-opaque values associated with objects in a file system</td></tr>
39 * <span style="padding-left:1em"><i>{@link java.nio.file.attribute.FileAttributeView}</i></span></th>
40 * <td>Can read or update file attributes</td></tr>
43 * <i>{@link java.nio.file
[all...]
/openjdk10/jdk/src/java.base/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 {@link java.nio.file} package.
29 * <p> Only developers who are defining new file system providers or file type
39 package java.nio.file.spi;
/openjdk10/langtools/test/tools/doclint/tidy/util/
H A Dtidy.sh13 # version 2 for more details (a copy is included in the LICENSE file that
31 # The "tidy" program will be run on each HTML file in <dir>,
34 # be saved in a corresponding file with an additional .tidy extension.
44 while read file ; do
45 mkdir -p $odir/$(dirname $file)
46 case $file in
48 cat $dir/$file | tidy 1>$odir/$file 2>$odir/$file.tidy
50 * ) cp $dir/$file
[all...]
/openjdk10/jdk/src/java.base/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);
/openjdk10/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();
/openjdk10/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");
/openjdk10/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...]
/openjdk10/jdk/src/jdk.rmic/share/classes/sun/tools/java/
H A DFileClassFile.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
34 * This class is used to represent a file loaded from the class path, and
35 * is a regular file.
37 * WARNING: The contents of this source file are not part of any
43 private final File file; field in class:FileClassFile
46 * Constructor for instance representing a regular file
48 public FileClassFile(File file) { argument
49 this.file
[all...]
/openjdk10/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();
/openjdk10/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();
/openjdk10/test/lib/jdk/test/lib/hprof/parser/
H A DFileReadBuffer.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
44 // underlying file to read
45 private RandomAccessFile file; field in class:FileReadBuffer
47 FileReadBuffer(RandomAccessFile file) { argument
48 this.file = file;
52 file.getChannel().position(pos);
57 file
[all...]

Completed in 125 milliseconds

1234567891011>>