< prev index next >

src/java.base/share/classes/java/nio/channels/FileChannel.java

Print this page

        

*** 172,183 **** * By default reading or writing commences at the beginning of the file. * * <p> In the addition to {@code READ} and {@code WRITE}, the following * options may be present: * ! * <table border=1 cellpadding=5 summary=""> * <tr> <th>Option</th> <th>Description</th> </tr> * <tr> * <td> {@link StandardOpenOption#APPEND APPEND} </td> * <td> If this option is present then the file is opened for writing and * each invocation of the channel's {@code write} method first advances * the position to the end of the file and then writes the requested --- 172,187 ---- * By default reading or writing commences at the beginning of the file. * * <p> In the addition to {@code READ} and {@code WRITE}, the following * options may be present: * ! * <table class="striped"> ! * <caption style="display:none">additional options</caption> ! * <thead> * <tr> <th>Option</th> <th>Description</th> </tr> + * </thead> + * <tbody> * <tr> * <td> {@link StandardOpenOption#APPEND APPEND} </td> * <td> If this option is present then the file is opened for writing and * each invocation of the channel's {@code write} method first advances * the position to the end of the file and then writes the requested
*** 235,244 **** --- 239,249 ---- * <td> Requires that every update to the file's content be written * synchronously to the underlying storage device. (see <a * href="../file/package-summary.html#integrity"> Synchronized I/O file * integrity</a>). </td> * </tr> + * </tbody> * </table> * * <p> An implementation may also support additional options. * * <p> The {@code attrs} parameter is an optional array of file {@link
< prev index next >