src/share/classes/java/nio/file/attribute/UserDefinedFileAttributeView.java

Print this page

        

*** 57,69 **** * supportsFileAttributeView} method may be used to test if a specific {@link * java.nio.file.FileStore FileStore} supports the storage of user-defined * attributes. * * <p> Where dynamic access to file attributes is required, the {@link ! * java.nio.file.FileRef#getAttribute getAttribute} method may be used to read * the attribute value. The attribute value is returned as a byte array (byte[]). ! * The {@link java.nio.file.FileRef#setAttribute setAttribute} method may be used * to write the value of a user-defined attribute from a buffer (as if by * invoking the {@link #write write} method), or byte array (byte[]). * * @since 1.7 */ --- 57,69 ---- * supportsFileAttributeView} method may be used to test if a specific {@link * java.nio.file.FileStore FileStore} supports the storage of user-defined * attributes. * * <p> Where dynamic access to file attributes is required, the {@link ! * java.nio.file.Files#getAttribute getAttribute} method may be used to read * the attribute value. The attribute value is returned as a byte array (byte[]). ! * The {@link java.nio.file.Files#setAttribute setAttribute} method may be used * to write the value of a user-defined attribute from a buffer (as if by * invoking the {@link #write write} method), or byte array (byte[]). * * @since 1.7 */