Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.11
 Overview   Namespace   Class   Index   Help 

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
define copy c'tor and assginment operator privat

operator=
FileStatus & operator=(
FileStatus & );

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


FileStatus
FileStatus(
sal_uInt32 nMask );

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

Summary
C'tor

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
D'tor

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
set
of flags for the fields to check
     
Return
sal_True if all fields are valid, sal_False otherwise.
    

getFileType
Type getFileType();

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

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

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

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

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

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

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

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

Return
the file path in UNC notation 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

Return
the file path in host notation 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.