|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DosFileAttributes
Disabled: no SafeJ information.
File attributes associated with a file in a file system that supports legacy "DOS" attributes.
The DOS attributes of a file are retrieved using a DosFileAttributeView
by invoking its readAttributes
method.
Attributes.readDosFileAttributes(java.nio.file.FileRef, java.nio.file.LinkOption...)
Method Summary | |
---|---|
boolean |
isArchive()
Returns the value of the archive attribute. |
boolean |
isHidden()
Returns the value of the hidden attribute. |
boolean |
isReadOnly()
Returns the value of the read-only attribute. |
boolean |
isSystem()
Returns the value of the system attribute. |
Methods inherited from interface java.nio.file.attribute.BasicFileAttributes |
---|
creationTime, fileKey, isDirectory, isOther, isRegularFile, isSymbolicLink, lastAccessTime, lastModifiedTime, size |
Method Detail |
---|
boolean isReadOnly()
This attribute is often used as a simple access control mechanism to prevent files from being deleted or updated. Whether the file system or platform does any enforcement to prevent read-only files from being updated is implementation specific.
boolean isHidden()
This attribute is often used to indicate if the file is visible to users.
boolean isArchive()
This attribute is typically used by backup programs.
boolean isSystem()
This attribute is often used to indicate that the file is a component of the operating system.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |