Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous


Methods of Class FileStatus


FileStatus
FileStatus(
FileStatus & );

virtual abstract const volatile template static inline C-linkage
NO NO NO NO NO NO NO NO

Summary
Copy constructor.

operator=
FileStatus & operator=(
FileStatus & );

virtual abstract const volatile template static inline C-linkage
NO NO NO NO NO NO NO NO

Summary
Assignment operator.

FileStatus
FileStatus(
sal_uInt32 nMask );

virtual abstract const volatile template static inline C-linkage
NO NO NO NO NO NO YES NO

Summary
Constructor.
Parameters
nMask
        Set of flaggs decribing the demanded information.
    

~FileStatus
~FileStatus();

virtual abstract const volatile template static inline C-linkage
NO NO NO NO NO NO YES NO

Summary
Destructor.

isValid
sal_Bool isValid(
sal_uInt32 nMask ) const;

virtual abstract const volatile template static inline C-linkage
NO NO YES NO NO NO YES NO

Summary
Check if specified fields are valid.
Parameters
nMask
        Set of flags for the fields to check.
        
        
Return
sal_True if all fields are valid else sal_False.

getFileType
Type getFileType();

virtual abstract const volatile template static inline C-linkage
NO NO NO NO NO NO YES NO

Summary
Get the file type.
Return
The file type if this information is valid, Unknown otherwise.

getAttributes
sal_uInt64 getAttributes();

virtual abstract const volatile template static inline C-linkage
NO NO NO NO NO NO YES NO

Summary
Get the file attributes.
Return
The set of attribute flags of this file.

getCreationTime
TimeValue getCreationTime();

virtual abstract const volatile template static inline C-linkage
NO NO NO NO NO NO YES NO

Summary
Get the creation time of this file.
Return
The creation time if this information is valid, an uninitialized TimeValue otherwise.

getAccessTime
TimeValue getAccessTime();

virtual abstract const volatile template static inline C-linkage
NO NO NO NO NO NO YES NO

Summary
Get the file access time.
Return
The last access time if this information is valid, an uninitialized TimeValue otherwise.

getModifyTime
TimeValue getModifyTime();

virtual abstract const volatile template static inline C-linkage
NO NO NO NO NO NO YES NO

Summary
Get the file modification time.
Return
The last modified time if this information is valid, an uninitialized TimeValue otherwise.

getFileSize
sal_uInt64 getFileSize();

virtual abstract const volatile template static inline C-linkage
NO NO NO NO NO NO YES NO

Summary
Get the size of the file.
Return
The actual file size if this information is valid, 0 otherwise.

getFileName
::rtl::OUString getFileName();

virtual abstract const volatile template static inline C-linkage
NO NO NO NO NO NO YES NO

Summary
Get the file name.
Return
The file name if this information is valid, an empty string otherwise.

getFileURL
::rtl::OUString getFileURL();

virtual abstract const volatile template static inline C-linkage
NO NO NO NO NO NO YES NO

Summary
Get the URL of the file.
Return
The full qualified URL of the file if this information is valid, an empty string otherwise.

getLinkTargetURL
::rtl::OUString getLinkTargetURL();

virtual abstract const volatile template static inline C-linkage
NO NO NO NO NO NO YES NO

Summary
Get the link target URL.
Return
The link target URL if this information is valid, an empty string otherwise.

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.