Overview | Namespace | Class | Index | Help

PUBLIC MEMBERS: | CLASSES | STRUCTS | UNIONS | ENUMS | TYPEDEFS | METHODS | STATIC METHODS | DATA | STATIC DATA
PRIVATE MEMBERS: | CLASSES | STRUCTS | UNIONS | ENUMS | TYPEDEFS | METHODS | STATIC METHODS | DATA | STATIC DATA

:: osl ::

## class FileStatus

Base Classes
  None.

Known Derived Classes
  None.

virtual | abstract | interface | template
NO | NO | NO | NO

Summary
  The FileStatus class.
See Also
  DirectoryItem::getFileStatus

File
  file.hxx

### Public Members

  #### Enums
  Type |

  #### Methods
  FileStatus( sal_uInt32 nMask ); | Constructor.
  ~FileStatus( ); | Destructor.
  sal_Bool isValid( sal_uInt32 nMask ) const; | Check if specified fields are valid.
  Type getFileType( ) const; | Get the file type.
  sal_uInt64 getAttributes( ) const; | Get the file attributes.
  TimeValue getCreationTime( ) const; | Get the creation time of this file.
  TimeValue getAccessTime( ) const; | Get the file access time.
  TimeValue getModifyTime( ) const; | Get the file modification time.
  sal_uInt64 getFileSize( ) const; | Get the size of the file.
  ::rtl::OUString getFileName( ) const; | Get the file name.
  ::rtl::OUString getFileURL( ) const; | Get the URL of the file.
  ::rtl::OUString getLinkTargetURL( ) const; | Get the link target URL.

### Private Members

  #### Methods
  FileStatus( FileStatus & ); | Copy constructor.
  FileStatus & operator=( FileStatus & ); | Assignment operator.

  #### Data
  oslFileStatus _aStatus; |
  sal_uInt32 _nMask; |

Top of Page

Copyright © 2003 Sun Microsystems, Inc.