Microsoft SDK for Java

FileEnumerator.getAttributes

Retrieves the file attributes for the current file.

Syntax

public int getAttributes()

Return Value

Returns a combination of the ARCHIVE, COMPRESSED, DIRECTORY, HIDDEN, OFFLINE, READONLY, SYSTEM, and TEMPORARY file attribute flags. These flags are defined in the FileAttribute class.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.