Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.13

API

SDK

Tips ‘n’ Tricks

Miscellaneous


:: 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

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. The Apache feather logo is a trademark of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.