/openjdk7/langtools/src/share/classes/com/sun/tools/javac/file/ |
H A D | RelativePath.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; 35 * container, such as a directory or zip file. 36 * Internally, the file separator is always '/'. 90 * container, such as a directory or zip file. 91 * Internally, the file separator is always '/', and if the path is not empty, 147 * Used to represent a platform-neutral file within a platform-specific 148 * container, such as a directory or zip file [all...] |
H A D | JavacFileManager.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; 57 import com.sun.tools.javac.file.RelativePath.RelativeFile; 58 import com.sun.tools.javac.file.RelativePath.RelativeDirectory; 172 ignoreSymbolFile = options.isSet("ignore.symbol.file"); 189 public JavaFileObject getRegularFile(File file) { argument 190 return new RegularFileObject(this, file); 326 String file 429 getFileObject(RelativeDirectory subdirectory, String file) argument 448 getFileObject(RelativeDirectory subdirectory, String file) argument 648 inferBinaryName(Location location, JavaFileObject file) argument 918 getRelativeName(File file) argument [all...] |
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/util/ |
H A D | MandatoryWarningHandler.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 63 * This kind is used when a single specific file is found to have warnings 70 * This kind is used when a single specific file is found to have warnings 71 * and when similar warnings have already been reported for the file. 132 // generate message and remember the source file 138 // more errors in a file that already has reported warnings 141 // warnings in a new source file 149 // additional errors in more than one source file 264 logMandatoryNote(JavaFileObject file, String msg, Object... args) argument [all...] |
/openjdk7/langtools/src/share/classes/javax/tools/ |
H A D | ForwardingJavaFileManager.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 35 * Forwards calls to a given file manager. Subclasses of this class 39 * @param <M> the kind of file manager forwarded to by this object 46 * The file manager which all methods are delegated to. 52 * @param fileManager delegate to this file manager 83 public String inferBinaryName(Location location, JavaFileObject file) { argument 84 return fileManager.inferBinaryName(location, file);
|
H A D | JavaFileManager.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 37 * source and class files. In this context, <em>file</em> means an 40 * <p>When constructing new JavaFileObjects, the file manager must 41 * determine where to create them. For example, if a file manager 42 * manages regular files on a file system, it would most likely have a 44 * or finding files. A number of hints can be provided to a file 45 * manager as to where to create files. Any file manager might choose 65 * as case-sensitive. For example, some file system 185 inferBinaryName(Location location, JavaFileObject file) argument [all...] |
/openjdk7/jdk/src/share/classes/sun/security/krb5/internal/ktab/ |
H A D | KeyTab.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 54 * A KeyTab object is always constructed, if the file specified does not 55 * exist, it's still valid but empty. If there is an I/O error or file format 72 // KeyTab file does not exist. Note: a missing keytab is still valid 75 // KeyTab file is invalid, possibly an I/O error or a file format error. 89 * @param filename path name for the keytab file, must not be null 109 * Read a keytab file 153 getInstance(File file) argument 523 createVersion(File file) argument [all...] |
/openjdk7/jdk/src/share/demo/java2d/J2DBench/src/j2dbench/ |
H A D | J2DBench.java | 137 "Do not show save results to a file (batch mode)"); 167 "Save the results to the indicated file"); 169 "Append the results to the indicated file"); 239 String file = argv[i]; 240 String reason = loadOptions(file); 252 String file = argv[i]; 253 String reason = saveOptions(file); 482 return "file "+filename+" not found"; 487 public static String loadOptions(File file) { argument 490 fr = new FileReader(file); 522 saveOptions(File file) argument 658 saveResults(File file, boolean append) argument [all...] |
/openjdk7/jdk/test/javax/imageio/plugins/jpeg/ |
H A D | ReadingInterruptionTest.java | 12 * version 2 for more details (a copy is included in the LICENSE file that 110 static File file = new File("IMGP1001.JPG"); field in class:ReadingInterruptionTest 127 iis = ImageIO.createImageInputStream(file); 211 System.out.println("Create test image " + file.getAbsolutePath()); 212 boolean b = ImageIO.write(img, "JPEG", file);
|
/openjdk7/jdk/test/javax/xml/crypto/dsig/ |
H A D | ValidationTests.java | 12 * version 2 for more details (a copy is included in the LICENSE file that 28 * @compile -XDignore.symbol.file KeySelectors.java SignatureValidator.java 51 DIR + System.getProperty("file.separator") + "data"; 53 DATA_DIR + System.getProperty("file.separator") + "certs" + 54 System.getProperty("file.separator") + "xmldsig.jks"; 61 String file; field in class:ValidationTests.Test 63 Test(String file, KeySelector ks) { argument 64 this.file = file; 122 System.out.println("Validating " + test.file); [all...] |
/openjdk7/jdk/test/sun/management/jmxremote/bootstrap/ |
H A D | RmiSslNoKeyStoreTest.java | 12 * version 2 for more details (a copy is included in the LICENSE file that 63 * be Java M&M configuration file names. The filenames are expected to end 107 "com.sun.management.config.file"; 112 "com.sun.management.jmxremote.password.file"; 114 "com.sun.management.jmxremote.access.file"; 129 * Compute the full path name for a default file. 130 * @param basename basename (with extension) of the default file. 144 * Compute the full path name for a default file. 145 * @param basename basename (with extension) of the default file. 173 // file exist 253 testConfiguration(File file,int port) argument [all...] |
/openjdk7/jdk/src/share/classes/sun/misc/ |
H A D | ExtensionDependency.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 * This class checks dependent extensions a particular jar file may have 52 * Jar file declared dependent extensions through the extension-list 66 * extensions dependencies declared in jar file manifest. 104 * Checks the dependencies of the jar file on installed extension. 126 * Check for all declared required extensions in the jar file 140 // The applet does not define a manifest file, so 155 debug("The file " 273 checkExtensionAgainst(String extensionName, Attributes attr, final File file) argument [all...] |
/openjdk7/jdk/src/share/classes/sun/net/www/protocol/jar/ |
H A D | URLJarFile.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 30 import java.nio.file.Files; 31 import java.nio.file.Path; 32 import java.nio.file.StandardCopyOption; 45 /* URL jar file is a common JarFile subtype used for JarURLConnection */ 79 public URLJarFile(File file) throws IOException { argument 80 this(file, null); 87 public URLJarFile(File file, URLJarFileCloseControlle argument [all...] |
/openjdk7/jdk/src/share/sample/jmx/jmx-scandir/src/com/sun/jmx/examples/scandir/config/ |
H A D | XmlConfigUtils.java | 80 // The file name of the XML file in which an instance of this object 82 final String file; field in class:XmlConfigUtils 86 * @param file The file name of the XML file in which an instance of this 89 public XmlConfigUtils(String file) { argument 90 this.file = file; 94 * Write the given bean to the XML file [all...] |
/openjdk7/jdk/src/solaris/classes/sun/awt/X11/ |
H A D | GtkFileDialogPeer.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 56 private native void run(String title, int mode, String dir, String file, argument 144 public void setFile(String file) { argument 160 final File file = new File(filename); 163 && file.getParent() == null) { 168 if (fd.getMode() == FileDialog.SAVE && file.getParent() != null) { 170 filename = file.getName(); 172 dirname = file [all...] |
/openjdk7/jdk/src/solaris/classes/sun/net/sdp/ |
H A D | SdpProvider.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 60 String file = AccessController.doPrivileged( 62 if (file == null) { 68 // load configuration file 70 if (file != null) { 72 list = loadRulesFromFile(file); 74 fail("Error reading %s: %s", file, e.getMessage()); 192 // loads rules from the given file 196 loadRulesFromFile(String file) argument [all...] |
/openjdk7/jdk/src/solaris/classes/sun/nio/fs/ |
H A D | LinuxDosFileAttributeView.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.attribute.*; 38 * Linux implementation of DosFileAttributeView for use on file systems such 65 LinuxDosFileAttributeView(UnixPath file, boolean followLinks) { argument 66 super(file, followLinks); 118 file.checkRead(); 120 int fd = file.openForAttributeAccess(followLinks); 181 x.rethrowAsIOException(file); [all...] |
H A D | UnixFileStore.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.*; 43 // original path of file that identified file system 44 private final UnixPath file; field in class:UnixFileStore 52 // return the device ID where the given file resides 53 private static long devFor(UnixPath file) throw argument 62 UnixFileStore(UnixPath file) argument 79 UnixPath file() { method in class:UnixFileStore [all...] |
/openjdk7/langtools/test/tools/javac/api/ |
H A D | T6838467.java | 12 * version 2 for more details (a copy is included in the LICENSE file that 34 import com.sun.tools.javac.file.JavacFileManager; 47 file = new File(path); 49 final File file; field in class:T6838467.FileKind 75 // on Windows, verify file system is not case significant 91 // test the various sorts of file objects that can be obtained from 92 // the file manager, and for various values that may or may not match. 99 // verify that the various different types of file object were all 114 File f1 = fk.file; 117 File f2 = ck.other(fk.file); [all...] |
H A D | TestJavacTaskScanner.java | 12 * version 2 for more details (a copy is included in the LICENSE file that 64 TestJavacTaskScanner(File file) { argument 66 fm.getJavaFileObjects(new File[] {file}); 135 * underlying directory or jar file to place on the classpath. 151 } else if (scheme.equals("file")) {
|
/openjdk7/langtools/test/tools/javac/processing/6348193/ |
H A D | T6348193.java | 12 * version 2 for more details (a copy is included in the LICENSE file that 89 File file = new File(System.getProperty("test.src"), myName+".java"); 91 fm.getJavaFileObjectsFromFiles(Arrays.asList(file)); 119 // set up or remove a service configuration file 151 // touch a file to indicate we have run 177 public void checkDelete(String file) { /*OK*/ } argument 179 public void checkRead(String file) { /*OK*/ } argument 180 public void checkRead(String file, Object context) { /*OK*/ } argument 181 public void checkWrite(String file) { /*OK*/ } argument
|
/openjdk7/langtools/test/tools/javac/tree/ |
H A D | AbstractTreeScannerTest.java | 12 * version 2 for more details (a copy is included in the LICENSE file that 40 * Run the program. A base directory can be provided for file arguments. 43 * @param baseDir base directory for any file arguments. 77 for (File file: files) { 78 if (file.exists()) 79 test(file); 81 error("File not found: " + file); 112 * Test a file. If the file is a directory, it will be recursively scanned 114 * @param file th 116 test(File file) argument 160 read(File file) argument 193 error(JavaFileObject file, String msg) argument 204 error(JavaFileObject file, Tree tree, String msg) argument 285 getLine(JavaFileObject file, JCTree tree) argument [all...] |
/openjdk7/langtools/test/tools/javac/treeannotests/ |
H A D | TestProcessor.java | 12 * version 2 for more details (a copy is included in the LICENSE file that 71 JavaFileObject file = p.getCompilationUnit().getSourceFile(); 74 new TestScanner(file).check(tree, count); 108 void error(JavaFileObject file, JCTree tree, String msg) { argument 111 String text = file.getName() + ":" + getLine(file, tree) + ": " + msg; 117 * However, note that a file manager such as JavacFileManager is likely 118 * to cache the results of file.getCharContent, avoiding the need to read 121 int getLine(JavaFileObject file, JCTree tree) { argument 123 CharSequence cs = file 141 TestScanner(JavaFileObject file) argument 218 JavaFileObject file; field in class:TestProcessor.TestScanner [all...] |
/openjdk7/langtools/test/tools/javah/compareTest/ |
H A D | CompareTest.java | 12 * version 2 for more details (a copy is included in the LICENSE file that 89 File oldOutDir = initDir(file(new File("old"), className)); 92 File newOutDir = initDir(file(new File("new"), className)); 200 byte[] readFile(File file) throws IOException { argument 201 int size = (int) file.length(); 203 DataInputStream in = new DataInputStream(new FileInputStream(file)); 214 : f.isFile() ? "file" 230 * Delete a file or a directory (including all its contents). 232 boolean deleteAll(File file) { argument 233 if (file 240 File file(File dir, String... path) { method in class:CompareTest [all...] |
/openjdk7/langtools/test/tools/javap/ |
H A D | TestSuperclass.java | 12 * version 2 for more details (a copy is included in the LICENSE file that 131 String javap(File file) { argument 134 String[] args = { file.getPath() };
|
/openjdk7/jaxp/src/com/sun/org/apache/bcel/internal/classfile/ |
H A D | Code.java | 106 * @param file Input stream 109 Code(int name_index, int length, DataInputStream file, argument 114 file.readUnsignedShort(), file.readUnsignedShort(), 118 code_length = file.readInt(); 120 file.readFully(code); 125 exception_table_length = file.readUnsignedShort(); 129 exception_table[i] = new CodeException(file); 134 attributes_count = file.readUnsignedShort(); 137 attributes[i] = Attribute.readAttribute(file, constant_poo 190 dump(DataOutputStream file) argument [all...] |