Searched refs:file (Results 101 - 125 of 1222) sorted by relevance

1234567891011>>

/openjdk7/jdk/test/java/io/File/
H A DCreate.java12 * version 2 for more details (a copy is included in the LICENSE file that
37 File file = new File(fileName);
39 boolean result = file.createNewFile();
41 if (!file.exists())
44 if (file.exists())
/openjdk7/langtools/src/share/classes/com/sun/javadoc/
H A DSourcePosition.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
38 /** The source file. Returns null if no file information is
40 File file(); method in interface:SourcePosition
42 /** The line in the source file. The first line is numbered 1;
46 /** The column in the source file. The first column is
/openjdk7/langtools/src/share/classes/com/sun/mirror/util/
H A DSourcePosition.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
33 * Represents a position in a source file.
52 * Returns the source file containing this position.
54 * @return the source file containing this position; never null
56 File file(); method in interface:SourcePosition
/openjdk7/jdk/test/javax/swing/JFileChooser/6550546/
H A Dbug6550546.java12 * version 2 for more details (a copy is included in the LICENSE file that
49 for (File file : files) {
50 if (file instanceof ShellFolder && ((ShellFolder) file).isLink()) {
51 throw new RuntimeException("Link shouldn't be in FileChooser combobox, " + file.getPath());
/openjdk7/jdk/test/lib/testlibrary/
H A DClassFileInstaller.java12 * version 2 for more details (a copy is included in the LICENSE file that
25 import java.nio.file.Files;
26 import java.nio.file.Path;
27 import java.nio.file.Paths;
28 import java.nio.file.StandardCopyOption;
31 * Dump a class file for a class on the class path in the current directory
42 // Convert dotted class name to a path to a class file
46 // Create the class file's package directory
49 // Create the class file
/openjdk7/jdk/src/share/classes/sun/nio/fs/
H A DBasicFileAttributesHolder.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 import java.nio.file.attribute.BasicFileAttributes;
31 * Implemented by objects that may hold or cache the attributes of a file.
36 * Returns cached attributes (may be null). If file is a symbolic link then
38 * file.
/openjdk7/jdk/make/common/internal/
H A DResources.gmk8 # 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
41 # Note that only the file name of the base bundle is given; localized versions
53 # The relative path to the properties file becomes a relative path to a
54 # java source file.
96 $(foreach file,$(RESOURCE_BUNDLES_JAVA), \
98 $(basename $(file))_$(locale).java))
107 $(foreach file,$(RESOURCE_BUNDLES_COMPILED_PROPERTIES),\
109 $(basename $(file))
[all...]
/openjdk7/jaxp/src/com/sun/org/apache/bcel/internal/classfile/
H A DAttribute.java110 * Dump attribute to file stream in binary format.
112 * @param file Output file stream
115 public void dump(DataOutputStream file) throws IOException argument
117 file.writeShort(name_index);
118 file.writeInt(length);
127 * @param name the name of the attribute as stored in the class file
136 * @param name the name of the attribute as stored in the class file
148 * @param file Input stream
154 public static final Attribute readAttribute(DataInputStream file, argument
[all...]
H A DConstantDouble.java91 * Initialize instance from file data.
93 * @param file Input stream
96 ConstantDouble(DataInputStream file) throws IOException argument
98 this(file.readDouble());
112 * Dump constant double to file stream in binary format.
114 * @param file Output file stream
117 public final void dump(DataOutputStream file) throws IOException argument
119 file.writeByte(tag);
120 file
[all...]
H A DConstantFloat.java91 * Initialize instance from file data.
93 * @param file Input stream
96 ConstantFloat(DataInputStream file) throws IOException argument
98 this(file.readFloat());
111 * Dump constant float to file stream in binary format.
113 * @param file Output file stream
116 public final void dump(DataOutputStream file) throws IOException argument
118 file.writeByte(tag);
119 file
[all...]
H A DConstantInteger.java94 * Initialize instance from file data.
96 * @param file Input stream
99 ConstantInteger(DataInputStream file) throws IOException argument
101 this(file.readInt());
116 * Dump constant integer to file stream in binary format.
118 * @param file Output file stream
121 public final void dump(DataOutputStream file) throws IOException argument
123 file.writeByte(tag);
124 file
[all...]
/openjdk7/jdk/src/share/classes/java/nio/file/
H A DFileTreeWalker.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;
28 import java.nio.file.attribute.*;
34 * Simple file tree walker that works in a similar manner to nftw(3C).
66 * Walk file tree starting at the given file
76 * @param file
83 private FileVisitResult walk(Path file, argument
241 Path file() { method in class:FileTreeWalker.AncestorDirectory
[all...]
/openjdk7/jaxp/src/com/sun/org/apache/bcel/internal/util/
H A DAttributeHTML.java65 * Convert found attributes into HTML file.
72 private PrintWriter file; // file to write to field in class:AttributeHTML
84 file = new PrintWriter(new FileOutputStream(dir + class_name + "_attributes.html"));
85 file.println("<HTML><BODY BGCOLOR=\"#C0C0C0\"><TABLE BORDER=0>");
95 file.println("</TABLE></BODY></HTML>");
96 file.close();
113 file.print("<TR BGCOLOR=\"#C0C0C0\"><TD>");
115 file.print("<TR BGCOLOR=\"#A0A0A0\"><TD>");
117 file
[all...]
/openjdk7/jaxp/src/com/sun/org/apache/xml/internal/resolver/helpers/
H A DFileURL.java5 // FileURL.java - Construct a file: scheme URL
12 * you may not use this file except in compliance with the License.
31 * Static method for dealing with file: URLs.
34 * an appropriate file: URL from parts. It's defined here so that it
50 * Construct a file: URL for a path name.
52 * <p>URLs in the file: scheme can be constructed for paths on
53 * the local file system. Several possibilities need to be considered:
71 * @return The appropriate file: URL.
78 return new URL("file://" + pathname);
85 return new URL("file
[all...]
/openjdk7/jdk/src/share/classes/java/io/
H A DFileReader.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
49 * file to read from.
51 * @param fileName the name of the file to read from
52 * @exception FileNotFoundException if the named file does not exist,
53 * is a directory rather than a regular file,
65 * @param file the <tt>File</tt> to read from
66 * @exception FileNotFoundException if the file does not exist,
67 * is a directory rather than a regular file,
71 FileReader(File file) argument
[all...]
/openjdk7/jdk/src/share/classes/java/nio/file/attribute/
H A DAclFileAttributeView.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;
28 import java.nio.file.*;
33 * A file attribute view that supports reading or updating a file's Access
34 * Control Lists (ACL) or file owner attributes.
36 * <p> ACLs are used to specify access rights to file system objects. An ACL is
39 * file attribut
[all...]
H A DPosixFileAttributeView.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;
28 import java.nio.file.*;
33 * A file attribute view that provides a view of the file attributes commonly
34 * associated with files on file systems used by operating systems that implement
38 * POSIX</a> family of standards commonly use file systems that have a
39 * file <e
[all...]
/openjdk7/jdk/src/share/classes/com/sun/nio/file/
H A DSensitivityWatchEventModifier.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;
32 * watch service implementation that polls the file system.
/openjdk7/jdk/test/java/io/DataInputStream/
H A DReadFully.java12 * version 2 for more details (a copy is included in the LICENSE file that
35 File file = new File(System.getProperty("test.src"),
37 FileInputStream in = new FileInputStream(file);
/openjdk7/jdk/test/java/io/FileInputStream/
H A DAvailable.java12 * version 2 for more details (a copy is included in the LICENSE file that
35 File file = new File(System.getProperty("test.src", "."),
37 FileInputStream fis = new FileInputStream(file);
/openjdk7/jdk/test/java/net/URL/
H A DB5086147.java12 * version 2 for more details (a copy is included in the LICENSE file that
36 File file = new File( "\\\\somehost\\someshare\\somefile.ext" );
37 URI uri = file.toURI();
/openjdk7/jdk/src/solaris/classes/sun/nio/fs/
H A DBsdFileSystemProvider.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 import java.nio.file.*;
29 import java.nio.file.attribute.*;
H A DMacOSXFileSystemProvider.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 import java.nio.file.*;
29 import java.nio.file.attribute.*;
/openjdk7/langtools/test/tools/javac/api/
H A DT6407011.java12 * version 2 for more details (a copy is included in the LICENSE file that
38 File file = new File(srcdir, T6407011.class.getSimpleName() + ".java");
39 if (tool.run(null, null, null, "-sourcepath", "/x y z", "-d", ".", file.getPath()) != 0)
/openjdk7/jdk/make/sun/management/
H A DMakefile8 # 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
57 $(install-file)
58 $(call chmod-file, 644)
61 $(install-file)
62 $(call chmod-file, 444)
65 $(install-file)
66 $(call chmod-file, 444)
69 $(install-file)
[all...]

Completed in 292 milliseconds

1234567891011>>