/openjdk7/jdk/src/share/classes/javax/security/auth/kerberos/ |
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 36 * This class encapsulates a keytab file. 39 * keytab file should use this class. The login module will store 52 * The keytab file format is described at 68 * contains the content of the keytab file when the snapshot is taken. 75 private final File file; field in class:KeyTab 83 private KeyTab(File file) { argument 84 this.file 96 getInstance(File file) argument [all...] |
/openjdk7/jdk/test/java/nio/channels/FileChannel/ |
H A D | AtomicAppend.java | 12 * version 2 for more details (a copy is included in the LICENSE file that 39 import java.nio.file.Files; 40 import static java.nio.file.StandardOpenOption.*; 45 // Open file for appending, returning FileChannel 46 static FileChannel newFileChannel(File file) throws IOException { argument 48 return new FileOutputStream(file, true).getChannel(); 50 return FileChannel.open(file.toPath(), APPEND); 54 // Open file for append, returning OutputStream 55 static OutputStream newOutputStream(File file) throws IOException { argument 57 return new FileOutputStream(file, tru [all...] |
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/file/ |
H A D | FSInfo.java | 2 package com.sun.tools.javac.file; 45 public File getCanonicalFile(File file) { argument 47 return file.getCanonicalFile(); 49 return file.getAbsoluteFile(); 53 public boolean exists(File file) { argument 54 return file.exists(); 57 public boolean isDirectory(File file) { argument 58 return file.isDirectory(); 61 public boolean isFile(File file) { argument 62 return file 65 getJarClassPath(File file) argument [all...] |
/openjdk7/jdk/test/java/io/PrintStream/ |
H A D | FailingConstructors.java | 12 * version 2 for more details (a copy is included in the LICENSE file that 38 import java.nio.file.Files; 39 import java.nio.file.Path; 44 static final String FILE_CONTENTS = "This is a small file!"; 49 /* create the file and write its contents */ 59 private static void test(boolean exists, File file) throws Throwable { argument 60 /* PrintStream(File file, String csn) */ 62 new PrintStream(file, UNSUPPORTED_CHARSET); 68 check(exists, file); 71 new PrintStream(file, nul 99 check(boolean exists, File file) argument 109 verifyContents(File file) argument [all...] |
H A D | CheckError.java | 12 * version 2 for more details (a copy is included in the LICENSE file that 38 File file = new File(System.getProperty("test.dir", "."), 40 file.deleteOnExit(); 42 FileOutputStream fos = new FileOutputStream(file);
|
/openjdk7/jdk/test/java/nio/file/Files/ |
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 methods in java.nio.file.Files 30 import java.nio.file.*; 31 import static java.nio.file.Files.*; 32 import static java.nio.file.LinkOption.*; 33 import java.nio.file.attribute.*; 69 // existing file is not a directory 70 Path file = createFile(tmpdir.resolve("x")); 72 createDirectories(file); 76 createDirectories(file [all...] |
H A D | SBC.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.newByteChannel 31 import java.nio.file.*; 32 import static java.nio.file.StandardOpenOption.*; 33 import static com.sun.nio.file.ExtendedOpenOption.*; 34 import java.nio.file.attribute.FileAttribute; 73 Path file = dir.resolve("foo"); 77 // create file (no existing file) 78 Files.newByteChannel(file, CREAT [all...] |
/openjdk7/jdk/src/share/classes/java/nio/file/ |
H A D | SimpleFileVisitor.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; 66 * Invoked for a file in a directory. 72 public FileVisitResult visitFile(T file, BasicFileAttributes attrs) argument 75 Objects.requireNonNull(file); 81 * Invoked for a file that could not be visited. 84 * the file fro 87 visitFileFailed(T file, IOException exc) argument [all...] |
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 | 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;
|
/openjdk7/jdk/src/share/classes/java/awt/peer/ |
H A D | DesktopPeer.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 36 * of open, edit, print, browse and mail with the given URL or file, by 54 * Launches the associated application to open the given file. The 55 * associated application is registered to be the default file viewer for 56 * the file type of the given file. 58 * @param file the given file 62 open(File file) argument 73 edit(File file) argument 83 print(File file) argument [all...] |
/openjdk7/jdk/test/java/io/File/ |
H A D | AccessDenied.java | 12 * version 2 for more details (a copy is included in the LICENSE file that 45 File file = new File(System.getProperty("test.dir", "."), "hugo"); 46 boolean result = file.createNewFile(); 47 System.out.println("CreateNewFile() for:" + file + " returned:" +
|
/openjdk7/jdk/test/java/io/FileInputStream/ |
H A D | LargeFileAvailable.java | 12 * version 2 for more details (a copy is included in the LICENSE file that 28 * a large file. 34 import java.nio.file.Files; 35 import static java.nio.file.StandardOpenOption.*; 39 // Create a temporary file in the current directory. 41 // a large sparse file test. As a fallback use whatever 43 File file = File.createTempFile("largefile", null, new File(".")); 44 long spaceavailable = file.getUsableSpace(); 48 throw new RuntimeException("No space available for temp file."); 51 createLargeFile(filesize, file); 97 createLargeFile(long filesize, File file) argument [all...] |
/openjdk7/jdk/test/sun/net/www/protocol/jar/ |
H A D | B5105410.java | 12 * version 2 for more details (a copy is included in the LICENSE file that 29 URL url = new URL ("jar:file:./foo2.jar!/bar.txt"); 35 File file = new File ("foo2.jar"); 36 if (!file.delete ()) { 39 if (file.exists()) {
|
/openjdk7/jdk/src/share/classes/sun/nio/fs/ |
H A D | AbstractFileSystemProvider.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.spi.FileSystemProvider; 62 abstract DynamicFileAttributeView getFileAttributeView(Path file, argument 67 public final void setAttribute(Path file, argument 76 DynamicFileAttributeView view = getFileAttributeView(file, s[0], options); 83 public final Map<String,Object> readAttributes(Path file, String attributes, LinkOption... options) argument 89 DynamicFileAttributeView view = getFileAttributeView(file, 99 implDelete(Path file, boolean failIfNotExists) argument 102 delete(Path file) argument 107 deleteIfExists(Path file) argument [all...] |
/openjdk7/hotspot/test/testlibrary/ |
H A D | ClassFileInstaller.java | 12 * version 2 for more details (a copy is included in the LICENSE file that 25 import java.nio.file.Files; 26 import java.nio.file.Path; 27 import java.nio.file.Paths; 28 import java.nio.file.StandardCopyOption; 31 * Dump a class file for a class on the class path in the current directory 42 // Convert dotted class name to a path to a class file 46 // Create the class file's package directory 49 // Create the class file
|
/openjdk7/jdk/src/share/classes/java/nio/file/attribute/ |
H A D | PosixFilePermission.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;
|
/openjdk7/hotspot/src/share/tools/ProjectCreator/ |
H A D | Util.java | 12 * version 2 for more details (a copy is included in the LICENSE file that 71 static String normalize(String file) { argument 72 file = file.replace('\\', '/'); 73 if (file.length() > 2) { 74 if (file.charAt(1) == ':' && file.charAt(2) == '/') { 76 String drive = file.substring(0, 1).toUpperCase(); 77 return drive + file.substring(1); 80 return file; [all...] |
/openjdk7/jdk/src/macosx/classes/sun/lwawt/macosx/ |
H A D | CDesktopPeer.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 48 public void open(File file) throws IOException { argument 49 this.lsOpenFile(file, false); 52 public void edit(File file) throws IOException { argument 53 this.lsOpenFile(file, false); 56 public void print(File file) throws IOException { argument 57 this.lsOpenFile(file, true); 76 private void lsOpenFile(File file, boolea argument [all...] |
/openjdk7/jdk/src/windows/classes/sun/awt/windows/ |
H A D | WDesktopPeer.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 53 public void open(File file) throws IOException { argument 54 this.ShellExecute(file, ACTION_OPEN_VERB); 57 public void edit(File file) throws IOException { argument 58 this.ShellExecute(file, ACTION_EDIT_VERB); 61 public void print(File file) throws IOException { argument 62 this.ShellExecute(file, ACTION_PRINT_VERB); 73 private void ShellExecute(File file, Strin argument [all...] |
/openjdk7/jdk/src/windows/classes/sun/nio/fs/ |
H A D | DefaultFileSystemProvider.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.spi.FileSystemProvider;
|
H A D | DefaultFileTypeDetector.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.spi.FileTypeDetector;
|