Overview | Methods | This Package | All Packages
Retrieves the attributes for the specified file or directory.
Syntax
public static int getAttributes( String path )
Parameters
path
The path of a file or directory.
Return Value
Returns the attributes of the file or directory.
Exceptions
WinIOException thrown if an error occurs.
Remarks
The return value is a combination of the ARCHIVE, COMPRESSED, DIRECTORY, HIDDEN, OFFLINE, READONLY, SYSTEM, and TEMPORARY FileAttribute flags.
See Also setAttributes