/openjdk7/jdk/src/share/classes/sun/tools/java/ |
H A D | ClassFile.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 * This class is used to represent a file loaded from the class path, and 36 * can either be a regular file or a zip file entry. 38 * WARNING: The contents of this source file are not part of any 45 * Non-null if this represents a regular file 47 private File file; field in class:ClassFile 50 * Non-null if this represents a zip file entr 58 ClassFile(File file) argument [all...] |
/openjdk7/jdk/src/share/classes/com/sun/tools/hat/internal/parser/ |
H A D | FileReadBuffer.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 44 // underlying file to read 45 private RandomAccessFile file; field in class:FileReadBuffer 47 FileReadBuffer(RandomAccessFile file) { argument 48 this.file = file; 52 file.getChannel().position(pos); 57 file [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 | ClosedDirectoryStreamException.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 | ClosedFileSystemException.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 * a file and the file system is closed.
|
H A D | ClosedWatchServiceException.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 | FileVisitResult.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; 55 * Continue without visiting the <em>siblings</em> of this file or directory.
|
H A D | LinkOption.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 | 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 | ReadOnlyFileSystemException.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.
|
/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 | FileAttributeView.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; 30 * values associated with a file in a filesystem. This interface is extended or 31 * implemented by specific file attribute views that define methods to read 32 * and/or update the attributes of a file. 36 * @see java.nio.file.Files#getFileAttributeView(Path,Class,java.nio.file.LinkOption[])
|
H A D | FileStoreAttributeView.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; 30 * a {@link java.nio.file.FileStore}.
|
H A D | GroupPrincipal.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; 30 * determine access rights to objects in a file system. The exact definition of
|
/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/jaxws/src/share/jaxws_classes/com/sun/xml/internal/org/jvnet/mimepull/ |
H A D | FileData.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 31 * Keeps the Part's partial content data in a file. 37 private final DataFile file; field in class:FileData 41 FileData(DataFile file, ByteBuffer buf) { argument 42 this(file, file.writeTo(buf.array(), 0, buf.limit()), buf.limit()); 45 FileData(DataFile file, long pointer, int length) { argument 46 this.file 60 writeTo(DataFile file) argument [all...] |
/openjdk7/jdk/test/java/nio/file/Files/probeContentType/ |
H A D | Basic.java | 12 * version 2 for more details (a copy is included in the LICENSE file that 32 import java.nio.file.*; 36 * Uses Files.probeContentType to probe html file and custom file type. 42 Path file = Files.createTempFile("foo", ".html"); 43 try (OutputStream out = Files.newOutputStream(file)) { 47 return file; 56 // exercise default file type detector 57 Path file = createHtmlFile(); 59 String type = Files.probeContentType(file); [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/src/share/classes/com/sun/tools/javac/file/ |
H A D | CacheFSInfo.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; 64 public File getCanonicalFile(File file) { argument 65 Entry e = getEntry(file); 70 public boolean exists(File file) { argument 71 Entry e = getEntry(file); 76 public boolean isDirectory(File file) { argument 77 Entry e = getEntry(file); 82 isFile(File file) argument 88 getJarClassPath(File file) argument 98 getEntry(File file) argument [all...] |
/openjdk7/jaxp/src/com/sun/org/apache/bcel/internal/classfile/ |
H A D | Constant.java | 66 * in the constant pool of a class file. The classes keep closely to 93 public abstract void dump(DataOutputStream file) throws IOException; argument 124 * Read one constant from the given file, the type depends on a tag byte. 126 * @param file Input stream 129 static final Constant readConstant(DataInputStream file) argument 132 byte b = file.readByte(); // Read tag byte 135 case Constants.CONSTANT_Class: return new ConstantClass(file); 136 case Constants.CONSTANT_Fieldref: return new ConstantFieldref(file); 137 case Constants.CONSTANT_Methodref: return new ConstantMethodref(file); 139 ConstantInterfaceMethodref(file); [all...] |
/openjdk7/jdk/test/java/nio/file/attribute/PosixFileAttributeView/ |
H A D | Basic.java | 12 * version 2 for more details (a copy is included in the LICENSE file that 26 * @summary Unit test for java.nio.file.attribute.PosixFileAttributeView 30 import java.nio.file.*; 31 import static java.nio.file.LinkOption.*; 32 import java.nio.file.attribute.*; 47 static void testPermissions(Path file, String mode) throws IOException { argument 52 Files.setPosixFilePermissions(file, perms); 53 Set<PosixFilePermission> current = Files.getPosixFilePermissions(file); 61 Files.setAttribute(file, "posix:permissions", perms); 62 current = (Set<PosixFilePermission>)Files.getAttribute(file, "posi 91 createWithPermissions(Path file, String mode) argument [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/lang/instrument/BootClassPath/ |
H A D | Cleanup.java | 12 * version 2 for more details (a copy is included in the LICENSE file that 35 File file = new File(args[0]); 38 String name = file.toString(); 44 if (file.isDirectory()) { 45 File[] contents = file.listFiles(); 50 if (!file.delete()) { 51 throw new RuntimeException("Unable to delete " + file);
|
/openjdk7/jdk/test/tools/launcher/ |
H A D | UnicodeCleanup.java | 12 * version 2 for more details (a copy is included in the LICENSE file that 30 * Recursively deletes the given file/directory and its contents. 51 private static void delete(File file) { argument 53 String name = file.toString(); 59 if (file.isDirectory()) { 60 File[] contents = file.listFiles(); 65 if (!file.delete()) { 66 throw new RuntimeException("Unable to delete " + file);
|