/openjdk7/jdk/test/sun/security/krb5/ktab/ |
H A D | FileKeyTab.java | 12 * version 2 for more details (a copy is included in the LICENSE file that 26 * @summary KeyTab.getInstance(String) no longer handles keyTabNames with "file:" prefix 51 static void check(String file) throws Exception { argument 52 System.out.println("Checking for " + file + "..."); 53 KeyTab kt2 = KeyTab.getInstance(file);
|
/openjdk7/jdk/src/share/classes/java/io/ |
H A D | DeleteOnExitHook.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 32 * A set is used both to prevent double-insertion of the same file as well as offer 40 // Application shutdown hooks may add the first file to the 57 static synchronized void add(String file) { argument 59 // DeleteOnExitHook is running. Too late to add a file 63 files.add(file);
|
H A D | FileReader.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 * 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...] |
H A D | FileWriter.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 * <p>Whether or not a file is available or may be created depends upon the 36 * underlying platform. Some platforms, in particular, allow a file to be 37 * opened for writing by only one <tt>FileWriter</tt> (or other file-writing 39 * will fail if the file involved is already open. 55 * Constructs a FileWriter object given a file name. 58 * @throws IOException if the named file exists but is a directory rather 59 * than a regular file, doe 89 FileWriter(File file) argument 106 FileWriter(File file, boolean append) argument [all...] |
/openjdk7/jdk/src/share/classes/java/nio/file/ |
H A D | AccessMode.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; 29 * Defines access modes used to test the accessibility of a file.
|
H A D | DirectoryNotEmptyException.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; 29 * Checked exception thrown when a file system operation fails because a
|
H A D | FileSystemAlreadyExistsException.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; 29 * Runtime exception thrown when an attempt is made to create a file system that
|
H A D | FileSystemNotFoundException.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; 29 * Runtime exception thrown when a file system cannot be found.
|
H A D | PathMatcher.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;
|
H A D | ProviderMismatchException.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; 30 * object created by one file system provider with a parameter created by a 31 * different file system provider.
|
H A D | ProviderNotFoundException.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;
|
H A D | StandardCopyOption.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; 36 * Replace an existing file if it exists. 40 * Copy attributes to the new file. 44 * Move the file as an atomic file system operation.
|
H A D | FileSystemException.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; 31 * Thrown when a file system operation fails on one or two files. This class is 32 * the general class for file system exceptions. 42 private final String file; field in class:FileSystemException 47 * when an operation involving one file fails and there isn't any additional 50 * @param file 51 * a string identifying the file o 53 FileSystemException(String file) argument 72 FileSystemException(String file, String other, String reason) argument [all...] |
H A D | FileVisitor.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; 28 import java.nio.file.attribute.BasicFileAttributes; 33 * {@link Files#walkFileTree Files.walkFileTree} methods to visit each file in 34 * a file tree. 37 * Suppose we want to delete a file tree. In that case, each directory should 43 * public FileVisitResult visitFile(Path file, BasicFileAttributes attrs) 46 * Files.delete(file); 135 visitFile(T file, BasicFileAttributes attrs) argument 153 visitFileFailed(T file, IOException exc) argument [all...] |
/openjdk7/jdk/src/share/classes/java/nio/file/attribute/ |
H A D | AttributeView.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 | FileAttribute.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; 29 * An object that encapsulates the value of a file attribute that can be set 30 * atomically when creating a new file or directory by invoking the {@link 31 * java.nio.file.Files#createFile createFile} or {@link 32 * java.nio.file.Files#createDirectory createDirectory} methods. 34 * @param <T> The type of the file attribute value
|
/openjdk7/jdk/src/share/classes/com/sun/nio/file/ |
H A D | ExtendedCopyOption.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.nio.file; 28 import java.nio.file.CopyOption;
|
H A D | ExtendedWatchEventModifier.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.nio.file; 28 import java.nio.file.WatchEvent.Modifier; 40 * Register a file tree instead of a single directory.
|
/openjdk7/jdk/src/windows/classes/sun/misc/ |
H A D | FileURLMapper.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 33 * (Windows) Platform specific handling for file: URLs . In particular deals 42 String file; field in class:FileURLMapper 54 if (file != null) { 55 return file; 62 file = "\\\\"+ s.replace('/', '\\'); 63 return file; 66 file [all...] |
/openjdk7/jdk/test/java/lang/Runtime/shutdown/ |
H A D | ShutdownHooks.java | 12 * version 2 for more details (a copy is included in the LICENSE file that 33 private static File file; field in class:ShutdownHooks 43 file = new File(dir, args[1]); 44 // write to file 45 System.out.println("writing to "+ file); 46 try (PrintWriter pw = new PrintWriter(file)) { 58 file.deleteOnExit(); 59 try (PrintWriter pw = new PrintWriter(file)) { 60 pw.println("file is being deleted");
|
/openjdk7/jdk/test/java/net/URLClassLoader/closetest/ |
H A D | GetResourceAsStream.java | 12 * version 2 for more details (a copy is included in the LICENSE file that 80 static void test (File file, boolean loadclass, boolean readall) argument 83 URL[] urls = new URL[] {file.toURL()}; 105 rm_minus_rf (file);
|
/openjdk7/langtools/test/tools/javac/6668794/badClass/ |
H A D | Test.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 * bad diagnostic "bad class file" given for source files 57 "(compiler.misc.bad.class.file.header: A.class, " + 58 "(compiler.misc.class.file.wrong.class: q.A))"; 67 String[] compile(String file) { argument 72 new File(testSrc, file).getPath()
|
/openjdk7/jdk/src/share/instrument/ |
H A D | JPLISAssert.c | 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 42 const char * file, 47 file, 57 const char * file, 63 file, 40 JPLISAssertCondition( jboolean condition, const char * assertionText, const char * file, int line) argument 54 JPLISAssertConditionWithMessage( jboolean condition, const char * assertionText, const char * message, const char * file, int line) argument
|
/openjdk7/jdk/src/share/classes/sun/security/action/ |
H A D | OpenFileInputStreamAction.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 private final File file; field in class:OpenFileInputStreamAction 42 public OpenFileInputStreamAction(File file) { argument 43 this.file = file; 47 this.file = new File(filename); 51 return new FileInputStream(file);
|
/openjdk7/langtools/test/tools/javac/api/ |
H A D | TestJavacTask.java | 12 * 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);
|