Searched refs:file (Results 276 - 300 of 1222) sorted by relevance

<<11121314151617181920>>

/openjdk7/jdk/src/share/classes/java/nio/file/
H A DWatchService.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;
34 * events. For example a file manager may use a watch service to monitor a
53 * or its file system is no longer accessible. When a key is cancelled in this
74 * <p> When an event is reported to indicate that a file in a watched directory
76 * that have modified the file have completed. Care should be taken to coordinate
77 * access with other programs that may be updating the file.
79 * to lock regions of a file agains
[all...]
H A DWatchable.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;
50 * <p> If the file system object identified by this object is currently
59 * <p> Otherwise the file system object has not yet been registered with the
/openjdk7/jdk/src/share/classes/java/nio/file/attribute/
H A DAclEntryPermission.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;
38 * Permission to read the data of the file.
43 * Permission to modify the file's data.
48 * Permission to append data to a file.
53 * Permission to read the named attributes of a file.
57 * as opaque files associated with a file in the file syste
[all...]
H A DBasicFileAttributeView.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;
31 * A file attribute view that provides a view of a <em>basic set</em> of file
32 * attributes common to many file systems. The basic set of file attributes
33 * consist of <em>mandatory</em> and <em>optional</em> file attributes as
36 * <p> The file attribute
[all...]
H A DDosFileAttributeView.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;
31 * A file attribute view that provides a view of the legacy "DOS" file attributes.
32 * These attributes are supported by file systems such as the File Allocation
37 * to indicate if the file is read-only, hidden, a system file, or archived.
39 * <p> Where dynamic access to file attribute
[all...]
H A DUserPrincipalNotFoundException.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;
/openjdk7/hotspot/src/share/vm/shark/
H A DsharkRuntime.hpp13 * version 2 for more details (a copy is included in the LICENSE file that
56 const char* file,
59 const char* file,
63 const char* file,
66 const char* file,
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/org/jvnet/mimepull/
H A DData.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
54 * Write this partial data to a file
56 * @param file to which the data needs to be written
57 * @return file pointer before the write operation(at which the data is
60 long writeTo(DataFile file); argument
64 * be file based one or memory based one.
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/
H A DMIMEPartStreamingDataHandler.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
69 public void moveTo(File file) throws IOException { argument
70 ds.moveTo(file);
96 void moveTo(File file) throws IOException { argument
97 part.moveTo(file);
/openjdk7/jdk/src/windows/classes/sun/nio/fs/
H A DRegistryFileTypeDetector.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.*;
34 * File type detector that does lookup of file extension using Windows Registry.
45 public String implProbeContentType(Path file) throws IOException { argument
46 if (!(file instanceof Path))
49 // get file extension
50 Path name = file.getFileName();
/openjdk7/jdk/test/java/awt/Desktop/OpenByUNCPathNameTest/
H A DOpenByUNCPathNameTest.java12 * version 2 for more details (a copy is included in the LICENSE file that
26 @summary java.awt.Desktop cannot open file with Windows UNC filename
48 File file = File.createTempFile("Read Me File", ".txt");
50 // Test opening of the file with Windows local file path.
51 desktop.open(file);
61 // Test opening of the file with Windows UNC pathname.
62 String uncFilePath = "\\\\127.0.0.1\\" + file.getAbsolutePath().replace(':', '$');
76 file.delete();
/openjdk7/jdk/test/java/io/File/
H A DDeleteOnExitNPE.java12 * version 2 for more details (a copy is included in the LICENSE file that
73 File file = File.createTempFile("DeleteOnExitNPE", null);
74 file.deleteOnExit();
92 File file = new File("xxyyzz");
96 file.deleteOnExit();
100 // Trying to add a file to the list of files marked as deleteOnExit when
/openjdk7/jdk/test/java/nio/file/spi/
H A DSetDefaultProvider.java12 * version 2 for more details (a copy is included in the LICENSE file that
26 * @summary Unit test for java.nio.file.spi.FileSystemProvider
28 * @run main/othervm -Djava.nio.file.spi.DefaultFileSystemProvider=TestProvider SetDefaultProvider
31 import java.nio.file.*;
/openjdk7/jdk/test/sun/tools/jstat/
H A DjstatFileURITest1.sh12 # version 2 for more details (a copy is included in the LICENSE file that
27 # @summary Test that output of 'jstat -gcutil file:path' has expected line counts
43 ${JSTAT} -J-XX:+UsePerfData -J-Duser.language=en -gcutil file:/`pwd`/hsperfdata_3433 2>&1 | awk -f ${TESTSRC}/fileURITest1.awk
48 ${JSTAT} -J-XX:+UsePerfData -J-Duser.language=en -gcutil file:${TESTSRC}/hsperfdata_3433 2>&1 | awk -f ${TESTSRC}/fileURITest1.awk
/openjdk7/langtools/test/tools/javac/6589361/
H A DT6589361.java4 * @summary 6589361:Failing building ct.sym file as part of the control build
7 import com.sun.tools.javac.file.JavacFileManager;
25 for (JavaFileObject file : files) {
28 if (file.getName().replace(File.separatorChar, '/').contains("java/lang/Object.class")) {
29 String str = fm.inferBinaryName(StandardLocation.CLASS_PATH, file);
/openjdk7/jdk/src/share/demo/nio/zipfs/src/com/sun/nio/zipfs/
H A DJarFileSystemProvider.java42 import java.nio.file.*;
43 import java.nio.file.spi.*;
44 import java.nio.file.attribute.*;
45 import java.nio.file.spi.FileSystemProvider;
74 return Paths.get(new URI("file", uri.getHost(), uri.getPath(), null))
/openjdk7/jdk/src/share/classes/sun/security/util/
H A DPathList.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
60 * of directory and JAR file URLs.
63 * @return the resulting array of directory and JAR file URLs
84 * Returns the directory or JAR file URL corresponding to the specified
85 * local file name.
87 * @param file the File object
88 * @return the resulting directory or JAR file URL, or null if unknown
90 private static URL fileToURL(File file) { argument
[all...]
/openjdk7/jdk/test/javax/security/auth/login/Configuration/
H A DGetInstanceSecurity.java12 * version 2 for more details (a copy is included in the LICENSE file that
69 File file = new File(System.getProperty("test.src", "."),
71 URI uri = file.toURI();
78 file = new File(System.getProperty("test.src", "."),
80 URIParameter uriParam = new URIParameter(file.toURI());
/openjdk7/jdk/src/share/classes/sun/nio/fs/
H A DAbstractUserDefinedFileAttributeView.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
29 import java.nio.file.attribute.UserDefinedFileAttributeView;
42 protected void checkAccess(String file, argument
50 sm.checkRead(file);
52 sm.checkWrite(file);
/openjdk7/langtools/test/tools/javac/api/
H A DTestJavacTask.java12 * version 2 for more details (a copy is included in the LICENSE file that
44 static JavacTaskImpl getTask(JavaCompiler compiler, File... file) { argument
47 fm.getJavaFileObjectsFromFiles(Arrays.asList(file));
54 File file = new File(srcdir, args[0]);
55 JavacTaskImpl task = getTask(tool, file);
/openjdk7/jdk/make/mksample/nio/
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
34 SUBDIRS = chatserver file multicast server
/openjdk7/jaxp/src/com/sun/org/apache/bcel/internal/classfile/
H A DExceptionTable.java103 * Construct object from file stream.
106 * @param file Input stream
110 ExceptionTable(int name_index, int length, DataInputStream file, argument
115 number_of_exceptions = file.readUnsignedShort();
119 exception_index_table[i] = file.readUnsignedShort();
134 * Dump exceptions attribute to file stream in binary format.
136 * @param file Output file stream
139 public final void dump(DataOutputStream file) throws IOException argument
141 super.dump(file);
[all...]
H A DLineNumberTable.java101 * Construct object from file stream.
104 * @param file Input stream
108 LineNumberTable(int name_index, int length, DataInputStream file, argument
112 line_number_table_length = (file.readUnsignedShort());
116 line_number_table[i] = new LineNumber(file);
129 * Dump line number table attribute to file stream in binary format.
131 * @param file Output file stream
134 public final void dump(DataOutputStream file) throws IOException argument
136 super.dump(file);
[all...]
H A DLocalVariableTable.java100 * Construct object from file stream.
103 * @param file Input stream
107 LocalVariableTable(int name_index, int length, DataInputStream file, argument
112 local_variable_table_length = (file.readUnsignedShort());
116 local_variable_table[i] = new LocalVariable(file, constant_pool);
131 * Dump local variable table attribute to file stream in binary format.
133 * @param file Output file stream
136 public final void dump(DataOutputStream file) throws IOException argument
138 super.dump(file);
[all...]
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/
H A DSALauncherLoader.java12 * version 2 for more details (a copy is included in the LICENSE file that
56 File file = new File(new File(libpaths[i]), name);
57 if (file.exists()) {
58 return file.getAbsolutePath();
143 private static URL getFileURL(File file) { argument
145 file = file.getCanonicalFile();
151 return file.toURI().toURL();

Completed in 85 milliseconds

<<11121314151617181920>>