/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/xinclude/ |
H A D | SecuritySupport.java | 9 * you may not use this file except in compliance with the License. 101 FileInputStream getFileInputStream(final File file) argument 108 return new FileInputStream(file);
|
/openjdk7/jaxp/src/com/sun/org/apache/xml/internal/serialize/ |
H A D | SecuritySupport.java | 9 * you may not use this file except in compliance with the License. 101 FileInputStream getFileInputStream(final File file) argument 108 return new FileInputStream(file);
|
/openjdk7/corba/src/share/classes/com/sun/tools/corba/se/idl/ |
H A D | Arguments.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 76 * file idl.config. 195 // The last argument is the file argument or "-version", which may 196 // be specified without a file argument. 201 file = args[i]; 205 // Get and process the idl.config file. 250 * The name of the IDL file. 252 public String file field in class:Arguments [all...] |
/openjdk7/jdk/src/share/classes/sun/font/ |
H A D | CreatedFontTracker.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 92 public void add(File file) { argument 93 TempFileDeletionHook.add(file); 96 public void set(File file, OutputStream os) { argument 97 TempFileDeletionHook.set(file, os); 100 public void remove(File file) { argument 101 TempFileDeletionHook.remove(file); 114 // Add a shutdown hook to remove the temp file 142 add(File file) argument 147 set(File file, OutputStream os) argument 151 remove(File file) argument [all...] |
/openjdk7/jdk/src/share/classes/java/io/ |
H A D | FileOutputStream.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 34 * A file output stream is an output stream for writing data to a 36 * a file is available or may be created depends upon the underlying 37 * platform. Some platforms, in particular, allow a file to be opened 39 * file-writing object) at a time. In such situations the constructors in 40 * this class will fail if the file involved is already open. 50 * @see java.nio.file.Files#newOutputStream 57 * The system dependent file descripto 170 FileOutputStream(File file) argument 203 FileOutputStream(File file, boolean append) argument [all...] |
/openjdk7/jdk/src/share/classes/java/nio/channels/ |
H A D | AsynchronousFileChannel.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.FileAttribute; 30 import java.nio.file.spi.*; 40 * An asynchronous channel for reading, writing, and manipulating a file. 42 * <p> An asynchronous file channel is created when a file is opened by invoking 43 * one of the {@link #open open} methods defined by this class. The file contain 241 open(Path file, Set<? extends OpenOption> options, ExecutorService executor, FileAttribute<?>... attrs) argument 295 open(Path file, OpenOption... options) argument [all...] |
/openjdk7/jdk/src/share/classes/java/nio/file/attribute/ |
H A D | AclEntry.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 java.nio.file.attribute;
|
H A D | AclEntryPermission.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 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...] |
/openjdk7/jdk/src/share/classes/java/awt/ |
H A D | Desktop.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 * a {@link java.net.URI} or a file. 55 * specified file.</li> 61 * or file. If there is no associated application or the associated 64 * <p> An application is registered to a URI or file type; for 65 * example, the {@code "sxi"} file extension is typically registered 179 * <p>Even when the platform supports an action, a file or URI may 182 * action. But for a specific file, ther 205 checkFileValidation(File file) argument 266 open(File file) argument 297 edit(File file) argument 327 print(File file) argument [all...] |
/openjdk7/hotspot/src/share/vm/utilities/ |
H A D | elfFile.hpp | 12 * version 2 for more details (a copy is included in the LICENSE file that 81 // ElfFile is basically an elf file parser, which can lookup the symbol 99 assert(filepath, "null file path"); 109 // sanity check, if the file is a real elf file 112 // load string tables from the elf file 126 void set_next(ElfFile* file) { m_next = file; } argument 129 // Returns true if the elf file is marked NOT to require an executable stack, 130 // or if the file coul [all...] |
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/org/jvnet/mimepull/ |
H A D | DataFile.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 41 DataFile(File file) { argument 43 weak = new WeakDataFile(this, file); 54 * Read data from the given file pointer position. 70 * Write data to the file 72 * @param data that needs to written to a file 75 * @return file pointer before the write operation(or at which the
|
H A D | WeakDataFile.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 private final File file; field in class:WeakDataFile 52 WeakDataFile(DataFile df, File file) { argument 55 this.file = file; 57 raf = new RandomAccessFile(file, "rw"); 84 LOGGER.fine("Deleting file = "+file [all...] |
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/ |
H A D | MIMEPartStreamingDataHandler.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 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 D | WindowsFileStore.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.*; 53 // file store "display name" is the volume name if available 76 static WindowsFileStore create(WindowsPath file) throws IOException { argument 78 // if the file is a link then GetVolumePathName returns the 82 if (file.getFileSystem().supportsLinks()) { 83 target = WindowsLinkSupport.getFinalPath(file, tru [all...] |
/openjdk7/jdk/test/java/beans/PropertyChangeSupport/ |
H A D | TestSerialization.java | 12 * version 2 for more details (a copy is included in the LICENSE file that 50 String file = System.getProperty("java.version") + ".ser"; 51 serialize(file, create()); 55 for (String file : args) { 56 check(deserialize(file)); 57 check(array, read(file)); 83 throw new Error("Different file sizes: " + length + " != " + a2.length); 115 private static byte[] read(String file) throws Exception { argument 118 stream = new FileInputStream(new File(System.getProperty("test.src", "."), file)); 131 private static PropertyChangeSupport deserialize(String file) throw argument 143 serialize(String file, PropertyChangeSupport pcs) argument [all...] |
/openjdk7/jdk/test/java/beans/VetoableChangeSupport/ |
H A D | TestSerialization.java | 12 * version 2 for more details (a copy is included in the LICENSE file that 50 String file = System.getProperty("java.version") + ".ser"; 51 serialize(file, create()); 55 for (String file : args) { 56 check(deserialize(file)); 57 check(array, read(file)); 83 throw new Error("Different file sizes: " + length + " != " + a2.length); 115 private static byte[] read(String file) throws Exception { argument 118 stream = new FileInputStream(new File(System.getProperty("test.src", "."), file)); 131 private static VetoableChangeSupport deserialize(String file) throw argument 143 serialize(String file, VetoableChangeSupport vcs) argument [all...] |
/openjdk7/jdk/test/java/io/File/ |
H A D | SymLinks.java | 12 * version 2 for more details (a copy is included in the LICENSE file that 30 import java.nio.file.*; 31 import java.nio.file.attribute.*; 32 import static java.nio.file.LinkOption.*; 41 final static File file = new File(top, "foofile"); field in class:SymLinks 57 FileOutputStream fos = new FileOutputStream(file); 63 mklink(link2file, file); 80 if (file != null) 81 file.delete(); 123 * Returns true if sym links are supported on the file syste [all...] |
/openjdk7/jdk/test/java/nio/channels/AsynchronousFileChannel/ |
H A D | Basic.java | 12 * version 2 for more details (a copy is included in the LICENSE file that 29 import java.nio.file.*; 37 import static java.nio.file.StandardOpenOption.*; 44 // create temporary file 62 // these tests open the file themselves 75 * Writes buffer to file using a CompletionHandler to consume the result 77 * Reads file to EOF to a new buffer using a CompletionHandler to consume 88 // generate buffer with random elements and write it to file 108 * Writes buffer to file, invoking the Future's get method to wait for 110 * Reads file t 168 testLocking(Path file) argument 283 testCustomThreadPool(Path file) argument 378 testAsynchronousClose(Path file) argument 432 testCancel(Path file) argument 486 testTruncate(Path file) argument [all...] |
/openjdk7/jdk/test/java/nio/channels/Channels/ |
H A D | Basic.java | 12 * version 2 for more details (a copy is included in the LICENSE file that 348 ExtendedFileInputStream(File file) throws FileNotFoundException { argument 349 super(file); 354 ExtendedFileOutputStream(File file) throws FileNotFoundException { argument 355 super(file);
|
/openjdk7/jdk/test/java/nio/channels/FileChannel/ |
H A D | Transfer.java | 12 * version 2 for more details (a copy is included in the LICENSE file that 36 import java.nio.file.StandardOpenOption; 37 import java.nio.file.FileAlreadyExistsException; 98 throw new RuntimeException("Wrote past file size"); 157 // get filechannel for the source file. 163 // write out data to the file channel 169 // get filechannel for the dst file. 192 // get filechannel for the source file. 199 // write out data to the file channel 205 // get filechannel for the dst file 324 checkFileData(File file, String expected) argument [all...] |
/openjdk7/jdk/test/java/nio/file/Files/ |
H A D | FileAttributes.java | 12 * version 2 for more details (a copy is included in the LICENSE file that 26 * @summary Unit test for java.nio.file.Files 30 import java.nio.file.*; 31 import java.nio.file.attribute.*; 62 static void checkBasicAttributes(Path file, BasicFileAttributes attrs) argument 66 checkEqual(attrs.size(), Files.getAttribute(file, "size")); 67 checkEqual(attrs.lastModifiedTime(), Files.getAttribute(file, "basic:lastModifiedTime")); 68 checkEqual(attrs.lastAccessTime(), Files.getAttribute(file, "lastAccessTime")); 69 checkEqual(attrs.creationTime(), Files.getAttribute(file, "basic:creationTime")); 70 assertTrue((Boolean)Files.getAttribute(file, "isRegularFil 100 checkPosixAttributes(Path file, PosixFileAttributes attrs) argument 136 checkUnixAttributes(Path file) argument 159 checkDosAttributes(Path file, DosFileAttributes attrs) argument 209 checkBadSet(Path file, String attribute, Object value) argument 218 checkBadGet(Path file, String attribute) argument 225 checkBadRead(Path file, String attribute) argument 232 miscTests(Path file) argument [all...] |
/openjdk7/langtools/make/tools/SelectTool/ |
H A D | SelectToolTask.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 66 * read from a properties file. If the GUI dialog is invoked, values may 73 * Set the location of the private properties file used to keep the retain 218 Properties readProperties(File file) { argument 220 if (file != null && file.exists()) { 223 in = new BufferedReader(new FileReader(file)); 227 throw new BuildException("error reading property file", 241 writeProperties(File file, Properties p) argument [all...] |
/openjdk7/langtools/src/share/classes/com/sun/source/util/ |
H A D | TaskEvent.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 * For events related to the parsing of a file. 87 private TaskEvent(Kind kind, JavaFileObject file, CompilationUnitTree unit, TypeElement clazz) { argument 89 this.file = file; 99 return file; 113 + file + "," 114 // the compilation unit is identified by the file 119 private JavaFileObject file; field in class:TaskEvent [all...] |
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/api/ |
H A D | WrappingJavaFileManager.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 * Wraps all calls to a given file manager. Subclasses of this class 50 * @param <M> the type of file manager wrapped to by this object 59 * @param fileManager file manager to be wrapped 66 * This implementation returns the given file object. Subclasses 69 * @param fileObject a file object 79 * @param fileObject a file object 80 * @throws ClassCastException if the file objec 148 inferBinaryName(Location location, JavaFileObject file) argument [all...] |
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/util/ |
H A D | AbstractLog.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 55 public JavaFileObject useSource(JavaFileObject file) { argument 57 source = getSource(file); 61 protected DiagnosticSource getSource(JavaFileObject file) { argument 62 if (file == null) 64 DiagnosticSource s = sourceMap.get(file); 66 s = new DiagnosticSource(file, this); 67 sourceMap.put(file, 231 note(JavaFileObject file, String key, Object ... args) argument 239 mandatoryNote(final JavaFileObject file, String key, Object ... args) argument [all...] |