47 * <p> This attribute is often used as a simple access control mechanism |
47 * <p> This attribute is often used as a simple access control mechanism |
48 * to prevent files from being deleted or updated. Whether the file system |
48 * to prevent files from being deleted or updated. Whether the file system |
49 * or platform does any enforcement to prevent <em>read-only</em> files |
49 * or platform does any enforcement to prevent <em>read-only</em> files |
50 * from being updated is implementation specific. |
50 * from being updated is implementation specific. |
51 * |
51 * |
52 * @return The value of the read-only attribute. |
52 * @return the value of the read-only attribute |
53 */ |
53 */ |
54 boolean isReadOnly(); |
54 boolean isReadOnly(); |
55 |
55 |
56 /** |
56 /** |
57 * Returns the value of the hidden attribute. |
57 * Returns the value of the hidden attribute. |
58 * |
58 * |
59 * <p> This attribute is often used to indicate if the file is visible to |
59 * <p> This attribute is often used to indicate if the file is visible to |
60 * users. |
60 * users. |
61 * |
61 * |
62 * @return The value of the hidden attribute. |
62 * @return the value of the hidden attribute |
63 */ |
63 */ |
64 boolean isHidden(); |
64 boolean isHidden(); |
65 |
65 |
66 /** |
66 /** |
67 * Returns the value of the archive attribute. |
67 * Returns the value of the archive attribute. |
68 * |
68 * |
69 * <p> This attribute is typically used by backup programs. |
69 * <p> This attribute is typically used by backup programs. |
70 * |
70 * |
71 * @return The value of the archive attribute. |
71 * @return the value of the archive attribute |
72 */ |
72 */ |
73 boolean isArchive(); |
73 boolean isArchive(); |
74 |
74 |
75 /** |
75 /** |
76 * Returns the value of the system attribute. |
76 * Returns the value of the system attribute. |
77 * |
77 * |
78 * <p> This attribute is often used to indicate that the file is a component |
78 * <p> This attribute is often used to indicate that the file is a component |
79 * of the operating system. |
79 * of the operating system. |
80 * |
80 * |
81 * @return The value of the system attribute. |
81 * @return the value of the system attribute |
82 */ |
82 */ |
83 boolean isSystem(); |
83 boolean isSystem(); |
84 } |
84 } |