< prev index next >
src/java.base/share/classes/java/nio/file/Files.java
Print this page
@@ -231,12 +231,16 @@
* 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="Options">
+ * <table class="altrows">
+ * <caption style="display:none">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
@@ -292,10 +296,11 @@
* <td> Requires that every update to the file's content be written
* synchronously to the underlying storage device. (see <a
* href="package-summary.html#integrity"> Synchronized I/O file
* integrity</a>). </td>
* </tr>
+ * </tbody>
* </table>
*
* <p> An implementation may also support additional implementation specific
* options.
*
@@ -1186,12 +1191,16 @@
* walkFileTree} method to copy a directory and all entries in the directory,
* or an entire <i>file-tree</i> where required.
*
* <p> The {@code options} parameter may include any of the following:
*
- * <table border=1 cellpadding=5 summary="">
+ * <table class="altrows">
+ * <caption style="display:none">Options</caption>
+ * <thead>
* <tr> <th>Option</th> <th>Description</th> </tr>
+ * </thead>
+ * <tbody>
* <tr>
* <td> {@link StandardCopyOption#REPLACE_EXISTING REPLACE_EXISTING} </td>
* <td> If the target file exists, then the target file is replaced if it
* is not a non-empty directory. If the target file exists and is a
* symbolic link, then the symbolic link itself, not the target of
@@ -1213,10 +1222,11 @@
* then the symbolic link itself, not the target of the link, is copied.
* It is implementation specific if file attributes can be copied to the
* new link. In other words, the {@code COPY_ATTRIBUTES} option may be
* ignored when copying a symbolic link. </td>
* </tr>
+ * </tbody>
* </table>
*
* <p> An implementation of this interface may support additional
* implementation specific options.
*
@@ -1304,12 +1314,16 @@
* #copy copy} method in conjunction with the {@link
* #walkFileTree Files.walkFileTree} utility method.
*
* <p> The {@code options} parameter may include any of the following:
*
- * <table border=1 cellpadding=5 summary="">
+ * <table class="altrows">
+ * <caption style="display:none">Options</caption>
+ * <thead>
* <tr> <th>Option</th> <th>Description</th> </tr>
+ * </thead>
+ * <tbody>
* <tr>
* <td> {@link StandardCopyOption#REPLACE_EXISTING REPLACE_EXISTING} </td>
* <td> If the target file exists, then the target file is replaced if it
* is not a non-empty directory. If the target file exists and is a
* symbolic link, then the symbolic link itself, not the target of
@@ -1324,10 +1338,11 @@
* performed as an atomic file system operation then {@link
* AtomicMoveNotSupportedException} is thrown. This can arise, for
* example, when the target location is on a different {@code FileStore}
* and would require that the file be copied, or target location is
* associated with a different provider to this object. </td>
+ * </tbody>
* </table>
*
* <p> An implementation of this interface may support additional
* implementation specific options.
*
@@ -1907,11 +1922,13 @@
*
* <p> The following examples demonstrate possible values for the {@code
* attributes} parameter:
*
* <blockquote>
- * <table border="0" summary="Possible values">
+ * <table>
+ * <caption style="display:none">Possible values</caption>
+ * <tbody>
* <tr>
* <td> {@code "*"} </td>
* <td> Read all {@link BasicFileAttributes basic-file-attributes}. </td>
* </tr>
* <tr>
@@ -1925,10 +1942,11 @@
* </tr>
* <tr>
* <td> {@code "posix:permissions,owner,size"} </td>
* <td> Reads the POSIX file permissions, owner, and file size. </td>
* </tr>
+ * </tbody>
* </table>
* </blockquote>
*
* <p> The {@code options} array may be used to indicate how symbolic links
* are handled for the case that the file is a symbolic link. By default,
< prev index next >