Lines Matching defs:to

8  * particular file as subject to the "Classpath" exception as provided
18 * 2 along with this work; if not, write to the Free Software Foundation,
34 * Instances of this class support both reading and writing to a
43 * past the current end of the implied array cause the array to be
78 * Creates a random access file stream to read from, and optionally
79 * to write to, a file with the specified name. A new
80 * {@link FileDescriptor} object is created to represent the
81 * connection to the file.
84 * file is to be opened. The permitted values and their meanings are as
91 * as its argument to see if read access to the file is allowed.
95 * as its argument to see if write access to the file is allowed.
100 * to one of <tt>"r"</tt>, <tt>"rw"</tt>, <tt>"rws"</tt>, or
110 * <code>checkRead</code> method denies read access to the file
112 * <code>checkWrite</code> method denies write access to the file
126 * Creates a random access file stream to read from, and optionally to
127 * write to, the file specified by the {@link File} argument. A new {@link
128 * FileDescriptor} object is created to represent this file connection.
131 * in which the file is to be opened. The permitted values and their
139 * java.io.IOException} to be thrown. </td></tr>
142 * exist then an attempt will be made to create it. </td></tr>
145 * require that every update to the file's content or metadata be
146 * written synchronously to the underlying storage device. </td></tr>
149 * require that every update to the file's content be written
150 * synchronously to the underlying storage device. </td></tr>
157 * apply to every I/O operation and are therefore often more efficient. If
159 * method of this class returns it is guaranteed that all changes made to
160 * the file by that invocation will have been written to that device. This
165 * <p> The <tt>"rwd"</tt> mode can be used to reduce the number of I/O
166 * operations performed. Using <tt>"rwd"</tt> only requires updates to the
167 * file's content to be written to storage; using <tt>"rws"</tt> requires
168 * updates to both the file's content and its metadata to be written, which
173 * argument to see if read access to the file is allowed. If the mode
175 * also called with the path argument to see if write access to the file is
182 * to one of <tt>"r"</tt>, <tt>"rw"</tt>, <tt>"rws"</tt>, or
192 * <code>checkRead</code> method denies read access to the file
194 * <code>checkWrite</code> method denies write access to the file
262 * </code>position<code>} of the returned channel will always be equal to
299 * If the <code>name</code> refers to a directory, an IOException
313 * integer in the range 0 to 255 (<code>0x00-0x0ff</code>). This
343 * @param len the number of bytes to read.
360 * Reads up to <code>len</code> bytes of data from this file into an
389 * Reads up to <code>b.length</code> bytes of data from this file
436 * @param len the number of bytes to read.
452 * Attempts to skip over <code>n</code> bytes of input discarding the
463 * @param n the number of bytes to be skipped.
490 * Writes the specified byte to this file. The write starts at
493 * @param b the <code>byte</code> to be written.
511 * @param b the data to be written
531 * to this file, starting at the current file pointer.
542 * starting at offset <code>off</code> to this file.
546 * @param len the number of bytes to write.
573 * beginning of the file, at which to set the file
596 * will be equal to <code>newLength</code>.
723 * result is equal to:
751 * then the result is equal to:
779 * then the result is equal to:
807 * then the result is equal to:
842 * then the result is equal to:
867 * and then converts that <code>int</code> to a <code>float</code>
890 * and then converts that <code>long</code> to a <code>double</code>
915 * high eight bits of the character to zero. This method does not,
925 * return and the byte following it are read (to see if it is a newline),
993 * Writes a <code>boolean</code> to the file as a one-byte value. The
999 * @param v a <code>boolean</code> value to be written.
1008 * Writes a <code>byte</code> to the file as a one-byte value. The
1011 * @param v a <code>byte</code> value to be written.
1020 * Writes a <code>short</code> to the file as two bytes, high byte first.
1023 * @param v a <code>short</code> to be written.
1033 * Writes a <code>char</code> to the file as a two-byte value, high
1037 * @param v a <code>char</code> value to be written.
1047 * Writes an <code>int</code> to the file as four bytes, high byte first.
1050 * @param v an <code>int</code> to be written.
1062 * Writes a <code>long</code> to the file as eight bytes, high byte first.
1065 * @param v a <code>long</code> to be written.
1081 * Converts the float argument to an <code>int</code> using the
1083 * and then writes that <code>int</code> value to the file as a
1087 * @param v a <code>float</code> value to be written.
1096 * Converts the double argument to a <code>long</code> using the
1098 * and then writes that <code>long</code> value to the file as an
1102 * @param v a <code>double</code> value to be written.
1111 * Writes the string to the file as a sequence of bytes. Each
1116 * @param s a string of bytes to be written.
1127 * Writes a string to the file as a sequence of characters. Each
1128 * character is written to the data output stream as if by the
1132 * @param s a <code>String</code> value to be written.
1150 * Writes a string to the file using
1154 * First, two bytes are written to the file, starting at the
1156 * <code>writeShort</code> method giving the number of bytes to
1162 * @param str a string to be written.