Retrieves the attributes for the specified file or directory.
public static int getAttributes( String path )
path
The path of a file or directory.
Returns the attributes of the file or directory.
WinIOException thrown if an error occurs.
The return value is a combination of the ARCHIVE, COMPRESSED, DIRECTORY, HIDDEN, OFFLINE, READONLY, SYSTEM, and TEMPORARY FileAttribute flags.
See Also setAttributes