Searched defs:file (Results 176 - 200 of 497) sorted by relevance

1234567891011>>

/openjdk7/jdk/src/share/classes/sun/net/www/protocol/file/
H A DFileURLConnection.java8 * 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
27 * Open an file input stream given a URL.
32 package sun.net.www.protocol.file;
58 File file; field in class:FileURLConnection
67 protected FileURLConnection(URL u, File file) { argument
69 this.file = file;
81 filename = file
[all...]
/openjdk7/hotspot/test/runtime/7116786/
H A DTest7116786.java12 * version 2 for more details (a copy is included in the LICENSE file that
53 private String file; // Source file where VerifyError is thrown field in class:Case
60 public Case(String caseName, String file, boolean testable, argument
63 this.file = file;
71 String getFile() { return this.file; }
367 /* Unreachable: Class file parser verifies Fieldref contents */
428 /* Unreachable: class file parser enforces void signature */
/openjdk7/jaxp/src/com/sun/org/apache/bcel/internal/classfile/
H A DConstant.java66 * 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...]
H A DConstantClass.java83 * Initialize instance from file data.
85 * @param file Input stream
88 ConstantClass(DataInputStream file) throws IOException argument
90 this(file.readUnsignedShort());
114 * Dump constant class to file stream in binary format.
116 * @param file Output file stream
119 public final void dump(DataOutputStream file) throws IOException argument
121 file.writeByte(tag);
122 file
[all...]
H A DConstantDouble.java91 * Initialize instance from file data.
93 * @param file Input stream
96 ConstantDouble(DataInputStream file) throws IOException argument
98 this(file.readDouble());
112 * Dump constant double to file stream in binary format.
114 * @param file Output file stream
117 public final void dump(DataOutputStream file) throws IOException argument
119 file.writeByte(tag);
120 file
[all...]
H A DConstantFloat.java91 * Initialize instance from file data.
93 * @param file Input stream
96 ConstantFloat(DataInputStream file) throws IOException argument
98 this(file.readFloat());
111 * Dump constant float to file stream in binary format.
113 * @param file Output file stream
116 public final void dump(DataOutputStream file) throws IOException argument
118 file.writeByte(tag);
119 file
[all...]
H A DConstantInteger.java94 * Initialize instance from file data.
96 * @param file Input stream
99 ConstantInteger(DataInputStream file) throws IOException argument
101 this(file.readInt());
116 * Dump constant integer to file stream in binary format.
118 * @param file Output file stream
121 public final void dump(DataOutputStream file) throws IOException argument
123 file.writeByte(tag);
124 file
[all...]
H A DConstantLong.java90 * Initialize instance from file data.
92 * @param file Input stream
95 ConstantLong(DataInputStream file) throws IOException argument
97 this(file.readLong());
110 * Dump constant long to file stream in binary format.
112 * @param file Output file stream
115 public final void dump(DataOutputStream file) throws IOException argument
117 file.writeByte(tag);
118 file
[all...]
H A DConstantString.java82 * Initialize instance from file data.
84 * @param file Input stream
87 ConstantString(DataInputStream file) throws IOException argument
89 this((int)file.readUnsignedShort());
110 * Dump constant field reference to file stream in binary format.
112 * @param file Output file stream
115 public final void dump(DataOutputStream file) throws IOException argument
117 file.writeByte(tag);
118 file
[all...]
H A DConstantUtf8.java83 * Initialize instance from file data.
85 * @param file Input stream
88 ConstantUtf8(DataInputStream file) throws IOException argument
92 bytes = file.readUTF();
120 * Dump String in Utf8 format to file stream.
122 * @param file Output file stream
125 public final void dump(DataOutputStream file) throws IOException argument
127 file.writeByte(tag);
128 file
[all...]
/openjdk7/jaxp/src/com/sun/org/apache/bcel/internal/util/
H A DMethodHTML.java65 * Convert methods and fields into HTML file.
72 private PrintWriter file; // file to write to field in class:MethodHTML
84 file = new PrintWriter(new FileOutputStream(dir + class_name + "_methods.html"));
86 file.println("<HTML><BODY BGCOLOR=\"#C0C0C0\"><TABLE BORDER=0>");
87 file.println("<TR><TH ALIGN=LEFT>Access&nbsp;flags</TH><TH ALIGN=LEFT>Type</TH>" +
91 file.println("</TABLE>");
93 file.println("<TABLE BORDER=0><TR><TH ALIGN=LEFT>Access&nbsp;flags</TH>" +
99 file.println("</TABLE></BODY></HTML>");
100 file
[all...]
/openjdk7/jaxp/src/javax/xml/validation/
H A DSecuritySupport.java8 * 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 FileInputStream getFileInputStream(final File file) argument
76 return new FileInputStream(file);
/openjdk7/jaxp/src/javax/xml/xpath/
H A DSecuritySupport.java8 * 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 FileInputStream getFileInputStream(final File file) argument
73 return new FileInputStream(file);
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/
H A DSALauncherLoader.java12 * version 2 for more details (a copy is included in the LICENSE file that
56 File file = new File(new File(libpaths[i]), name);
57 if (file.exists()) {
58 return file.getAbsolutePath();
143 private static URL getFileURL(File file) { argument
145 file = file.getCanonicalFile();
151 return file.toURI().toURL();
/openjdk7/jdk/src/share/classes/java/nio/file/
H A DFileSystem.java8 * 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.*;
29 import java.nio.file.spi.FileSystemProvider;
35 * Provides an interface to a file system and is the factory for objects to
36 * access files and other objects in the file system.
38 * <p> The default file system, obtained by invoking the {@link FileSystems#getDefault
39 * FileSystems.getDefault} method, provides access to the file syste
[all...]
H A DSecureDirectoryStream.java8 * 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
25 package java.nio.file;
27 import java.nio.file.attribute.*;
36 * traverse file trees or otherwise operate on directories in a race-free manner.
37 * Race conditions can arise when a sequence of file operations cannot be
38 * carried out in isolation. Each of the file operations defined by this
39 * interface specify a relative path. All access to the file is relative
50 * <p> In the case of the default {@link java.nio.file
[all...]
H A DTempFileHelper.java8 * 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;
33 import java.nio.file.attribute.FileAttribute;
34 import java.nio.file.attribute.PosixFilePermission;
35 import java.nio.file.attribute.PosixFilePermissions;
36 import static java.nio.file.attribute.PosixFilePermission.*;
55 // file name generation, same as java.io.File for now
61 // the generated name should be a simple file nam
[all...]
/openjdk7/jdk/src/share/classes/java/nio/file/attribute/
H A DPosixFilePermissions.java8 * 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;
28 import static java.nio.file.attribute.PosixFilePermission.*;
143 * Creates a {@link FileAttribute}, encapsulating a copy of the given file
144 * permissions, suitable for passing to the {@link java.nio.file.Files#createFile
145 * createFile} or {@link java.nio.file.Files#createDirectory createDirectory}
151 * @return an attribute encapsulating the given file permissions with
/openjdk7/hotspot/src/share/vm/compiler/
H A DcompileLog.hpp12 * version 2 for more details (a copy is included in the LICENSE file that
40 const char* _file; // name of file where XML goes
41 julong _file_end; // last good end of file
58 CompileLog(const char* file, FILE* fp, intx thread_id);
62 const char* file() { return _file; } function in class:CompileLog
/openjdk7/jdk/src/share/classes/com/sun/jmx/snmp/defaults/
H A DSnmpProperties.java8 * 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 * This class reads a file containing the property list defined for Java DMK
55 * Reads the Java DMK property list from a file and
58 public static void load(String file) throws IOException { argument
60 InputStream is = new FileInputStream(file);
82 * References the property that specifies the ACL file
85 * Property Name: <B>jdmk.acl.file</B>
87 public static final String ACL_FILE = "jdmk.acl.file";
[all...]
/openjdk7/jdk/src/share/classes/com/sun/media/sound/
H A DAiffFileReader.java8 * 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 * AIFF file reader and writer.
66 * Obtains the audio file format of the input stream provided. The stream must
67 * point to valid audio file data. In general, audio file providers may
74 * @param stream the input stream from which file format information should be
76 * @return an <code>AudioFileFormat</code> object describing the audio file format
78 * file dat
125 getAudioFileFormat(File file) argument
206 getAudioInputStream(File file) argument
[all...]
H A DSunFileReader.java8 * 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
61 * Obtains the audio file format of the input stream provided. The stream must
62 * point to valid audio file data. In general, audio file providers may
69 * @param stream the input stream from which file format information should be
71 * @return an <code>AudioFileFormat</code> object describing the audio file format
73 * file data recognized by the system
82 * Obtains the audio file forma
104 getAudioFileFormat(File file) argument
154 getAudioInputStream(File file) argument
[all...]
/openjdk7/jdk/src/share/classes/com/sun/tools/hat/internal/parser/
H A DFileReadBuffer.java8 * 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...]
H A DMappedReadBuffer.java8 * 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 * Implementation of ReadBuffer using mapped file buffer
52 // factory method to create correct ReadBuffer for a given file
53 static ReadBuffer create(RandomAccessFile file) throws IOException { argument
54 FileChannel ch = file.getChannel();
56 // if file size is more than 2 GB and when file mapping is
57 // configured (default), use mapped file reade
[all...]
/openjdk7/jdk/src/macosx/classes/sun/lwawt/macosx/
H A DCDesktopPeer.java8 * 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...]

Completed in 53 milliseconds

1234567891011>>