/openjdk7/jdk/test/java/nio/file/Path/ |
H A D | Misc.java | 12 * version 2 for more details (a copy is included in the LICENSE file that 26 * @summary Unit test for miscellenous java.nio.file.Path methods 30 import java.nio.file.*; 31 import static java.nio.file.LinkOption.*; 96 final Path file = Files.createFile(dir.resolve("foo")); 100 * Test: totRealPath() will access same file as toRealPath(NOFOLLOW_LINKS) 102 assertTrue(Files.isSameFile(file.toRealPath(), file.toRealPath(NOFOLLOW_LINKS))); 105 * Test: toRealPath should fail if file does not exist 123 Files.createSymbolicLink(link, file [all...] |
/openjdk7/jdk/src/share/classes/sun/awt/shell/ |
H A D | ShellFolder.java | 8 * 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 * Create a file system shell folder from a file 57 * @return Whether this is a file system shell folder 235 * Return a shell folder from a file object 236 * @exception FileNotFoundException if file does not exist 238 public static ShellFolder getShellFolder(File file) throws FileNotFoundException { argument 239 if (file instanceo 457 getFolderColumnValue(File file, int column) argument [all...] |
H A D | ShellFolderManager.java | 8 * 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 39 * Create a shell folder from a file. 42 public ShellFolder createShellFolder(File file) throws FileNotFoundException { argument 43 return new DefaultShellFolder(null, file); 54 * show by default in the file chooser's combobox 80 // show by default in the file chooser's combobox
|
/openjdk7/jdk/src/share/native/java/util/zip/zlib-1.2.3/ |
H A D | zlib.h | 7 * 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 75 enough (for example if an input file is mmap'ed), or can be done by 93 file compression on file systems, has a larger header than zlib to maintain 136 int xflags; /* extra flags (not used when writing a gzip file) */ 141 Bytef *name; /* pointer to zero-terminated file name or Z_NULL */ 147 when writing a gzip file) */ 239 not compatible with the zlib.h header file use [all...] |
/openjdk7/jdk/src/share/classes/java/net/ |
H A D | URL.java | 8 * 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 * Wide Web. A resource can be something as simple as a file or a 57 * a file, but it could be generated on the fly. This component of 109 * inherited from the fully specified URL. The file component must be 172 * The specified file name on that host. <code>file</code> is 176 private String file; field in class:URL 224 * number, and <code>file</cod 299 URL(String protocol, String host, int port, String file) argument 323 URL(String protocol, String host, String file) argument 367 URL(String protocol, String host, int port, String file, URLStreamHandler handler) argument 663 set(String protocol, String host, int port, String file, String ref) argument 1312 Parts(String file) argument [all...] |
/openjdk7/corba/src/share/classes/com/sun/corba/se/internal/CosNaming/ |
H A D | BootstrapServer.java | 8 * 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 * defined in a configurable file available using the old 56 * specified file is available, and then creates the resolver 89 // Create a file 90 File file = new File(propertiesFilename); 93 if (file.exists() == true && file.canRead() == false) { 95 "bootstrap.filenotreadable", file [all...] |
/openjdk7/hotspot/src/share/tools/IdealGraphVisualizer/Coordinator/src/com/sun/hotspot/igv/coordinator/actions/ |
H A D | SaveAsAction.java | 12 * version 2 for more details (a copy is included in the LICENSE file that 67 File file = fc.getSelectedFile(); 68 if (!file.getName().contains(".")) { 69 file = new File(file.getAbsolutePath() + ".xml"); 72 File dir = file; 78 Writer writer = new OutputStreamWriter(new FileOutputStream(file));
|
/openjdk7/hotspot/src/share/tools/IdealGraphVisualizer/View/src/com/sun/hotspot/igv/view/actions/ |
H A D | ExportAction.java | 12 * version 2 for more details (a copy is included in the LICENSE file that 53 putValue(Action.SHORT_DESCRIPTION, "Export current graph as an SVG file"); 82 File file = fc.getSelectedFile(); 83 if (!file.getName().contains(".")) { 84 file = new File(file.getAbsolutePath() + ".svg"); 87 File dir = file; 95 cookie.export(file);
|
/openjdk7/jdk/src/windows/classes/sun/net/www/protocol/file/ |
H A D | Handler.java | 8 * 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 sun.net.www.protocol.file; 40 * Open an file input stream given a URL. 55 * Ugly backwards compatibility. Flip any file separator 57 * and "fixes" win32 file paths. According to RFC 2396, 60 * performed this "fixup" behavior in the file URL parsing code 79 String file = url.getFile(); 82 path = ParseUtil.decode(file); 129 createFileURLConnection(URL url, File file) argument [all...] |
/openjdk7/jdk/test/java/nio/file/Files/ |
H A D | PassThroughFileSystem.java | 12 * version 2 for more details (a copy is included in the LICENSE file that 24 import java.nio.file.*; 25 import java.nio.file.attribute.*; 26 import java.nio.file.spi.FileSystemProvider; 33 * A "pass through" file system implementation that passes through, or delegates, 34 * everything to the default file system. 47 * Creates a new "pass through" file system. Useful for test environments 212 public void setAttribute(Path file, String attribute, Object value, LinkOption... options) argument 215 Files.setAttribute(unwrap(file), attribute, value, options); 219 public Map<String,Object> readAttributes(Path file, Strin argument 226 getFileAttributeView(Path file, Class<V> type, LinkOption... options) argument 234 readAttributes(Path file, Class<A> type, LinkOption... options) argument 243 delete(Path file) argument 318 newByteChannel(Path file, Set<? extends OpenOption> options, FileAttribute<?>... attrs) argument 328 isHidden(Path file) argument 333 getFileStore(Path file) argument 338 isSameFile(Path file, Path other) argument 343 checkAccess(Path file, AccessMode... modes) argument [all...] |
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/file/ |
H A D | SymbolArchive.java | 8 * 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.tools.javac.file; 34 import com.sun.tools.javac.file.RelativePath.RelativeDirectory; 35 import com.sun.tools.javac.file.RelativePath.RelativeFile; 77 public JavaFileObject getFileObject(RelativeDirectory subdirectory, String file) { argument 79 ZipEntry ze = new RelativeFile(prefix_subdir, file).getZipEntry(zfile); 80 return new SymbolFileObject(this, file, ze); 89 * A subclass of JavaFileObject representing zip entries in a symbol file [all...] |
/openjdk7/jdk/test/javax/crypto/sanity/ |
H A D | CheckManifestForRelease.java | 12 * version 2 for more details (a copy is included in the LICENSE file that 80 static private String formatURL(String dir, String file) { argument 81 return "jar:file:///" + dir + "/" + file + "!/"; 93 static private void checkManifest(String dir, String file) argument 96 System.out.println("Checking: " + file); 98 String url = formatURL(dir, file); 108 * If the file doesn't exist (e.g. mscapi on solaris), 111 System.out.println(" " + file + " not found, skipping...");
|
/openjdk7/jdk/test/sun/management/jmxremote/bootstrap/ |
H A D | RmiRegistrySslTest.sh | 12 # version 2 for more details (a copy is included in the LICENSE file that 39 -Dcom.sun.management.config.file=${TESTSRC}/rmiregistry.properties \ 49 -Dcom.sun.management.config.file=${TESTSRC}/rmiregistryssl.properties \ 63 -Dcom.sun.management.config.file=${TESTSRC}/rmiregistryssl.properties \
|
/openjdk7/jdk/src/solaris/classes/sun/nio/fs/ |
H A D | SolarisAclFileAttributeView.java | 8 * 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.*; 66 private final UnixPath file; field in class:SolarisAclFileAttributeView 69 SolarisAclFileAttributeView(UnixPath file, boolean followLinks) { argument 70 this.file = file; 75 * Permission checks to access file 77 checkAccess(UnixPath file, boolean checkRead, boolean checkWrite) argument [all...] |
/openjdk7/langtools/test/tools/javac/T6956462/ |
H A D | T6956462.java | 12 * version 2 for more details (a copy is included in the LICENSE file that 60 private CompilationUnitTree file; field in class:T6956462.MyVisitor 67 public Tree visitCompilationUnit(CompilationUnitTree file, Void v) { argument 68 this.file = file; 69 for (Tree typeDecl : file.getTypeDecls()) { 104 trees.getScope(trees.getPath(file, ident));
|
/openjdk7/jaxp/src/com/sun/org/apache/bcel/internal/util/ |
H A D | ClassPath.java | 93 File file = new File(path); 96 if(SecuritySupport.getFileExists(file)) { 97 if(file.isDirectory()) 100 vec.add(new Zip(new ZipFile(file))); 103 System.err.println("CLASSPATH component " + file + ": " + e); 145 File file = new File(name); 147 if(SecuritySupport.getFileExists(file)) { 217 * @param name fully qualified file name, e.g. java/lang/String 218 * @param suffix file name ends with suff, e.g. .java 219 * @return input stream for file o [all...] |
/openjdk7/jdk/src/share/classes/sun/tools/java/ |
H A D | ClassPath.java | 8 * 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 * WARNING: The contents of this source file are not part of any 116 File file = new File(pathstr.substring(i, j)); 117 if (file.isFile()) { 119 ZipFile zip = new ZipFile(file); 128 path[n++].dir = file; 154 File file = new File(name); 155 if (file [all...] |
/openjdk7/jdk/src/share/classes/sun/rmi/rmic/ |
H A D | BatchEnvironment.java | 8 * 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 59 * WARNING: The contents of this source file are not part of any 166 * Remember a generated source file generated so that it 169 public void addGeneratedFile(File file) { argument 170 generatedFiles.addElement(file); 182 File file = enumeration.nextElement(); 183 file.delete(); 313 /** Is this the name of a zip file 373 addFile(String file, boolean warn) argument [all...] |
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/impl/msg/ |
H A D | DatatypeMessages_fr.properties | 7 * 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 29 # This file stores localized messages for the Xerces JAXP Datatype API implementation.
|
/openjdk7/corba/src/share/classes/com/sun/tools/corba/se/idl/ |
H A D | GenFileStream.java | 8 * 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 65 File file = new File (name); 71 //FileOutputStream fileStream = new FileOutputStream (file); 74 FileWriter fileWriter = new FileWriter (file);
|
/openjdk7/hotspot/agent/make/ |
H A D | start-debug-server-proc.sh | 13 # version 2 for more details (a copy is included in the LICENSE file that 34 $STARTDIR/java -classpath $CP ${OPTIONS} -Djava.rmi.server.codebase=file://$CP -Djava.security.policy=${STARTDIR}/grantAll.policy sun.jvm.hotspot.DebugServer $*
|
H A D | start-debug-server-proc64.sh | 13 # version 2 for more details (a copy is included in the LICENSE file that 34 $SA_JAVA -d64 -classpath $CP ${OPTIONS} -Djava.rmi.server.codebase=file:/$CP -Djava.security.policy=$STARTDIR\/grantAll.policy sun.jvm.hotspot.DebugServer $*
|
/openjdk7/jdk/src/share/classes/javax/sound/midi/spi/ |
H A D | MidiFileReader.java | 8 * 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 * A <code>MidiFileReader</code> supplies MIDI file-reading services. Classes implementing this 40 * MIDI file, and can produce a <code>Sequence</code> object from files of these types. 48 * Obtains the MIDI file format of the input stream provided. The stream must 49 * point to valid MIDI file data. In general, MIDI file readers may 56 * @param stream the input stream from which file format information should be 58 * @return a <code>MidiFileFormat</code> object describing the MIDI file forma 91 getMidiFileFormat(File file) argument 141 getSequence(File file) argument [all...] |
/openjdk7/jdk/src/share/classes/javax/sound/sampled/spi/ |
H A D | AudioFileReader.java | 8 * 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 * Provider for audio file reading services. Classes providing concrete 40 * audio file, and can produce audio input streams from files of these types. 48 * Obtains the audio file format of the input stream provided. The stream must 49 * point to valid audio file data. In general, audio file readers may 56 * @param stream the input stream from which file format information should be 58 * @return an <code>AudioFileFormat</code> object describing the audio file forma 89 getAudioFileFormat(File file) argument 136 getAudioInputStream(File file) argument [all...] |
/openjdk7/jdk/src/share/classes/java/nio/ |
H A D | X-Buffer-bin.java.template | 8 * 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 #warn This file is preprocessed before being compiled
|