LibreOffice Module svl (master) 1
Functions
FStatHelper Namespace Reference

Functions

SVL_DLLPUBLIC bool GetModifiedDateTimeOfFile (const OUString &rURL, Date *pDate, tools::Time *pTime)
 Return the modified time and date stamp for this URL. More...
 
SVL_DLLPUBLIC bool IsDocument (const OUString &rURL)
 Return if under the URL a document exist. More...
 
SVL_DLLPUBLIC bool IsFolder (const OUString &rURL)
 Return if under the URL a folder exist. More...
 

Function Documentation

◆ GetModifiedDateTimeOfFile()

bool FStatHelper::GetModifiedDateTimeOfFile ( const OUString &  rURL,
Date pDate,
tools::Time pTime 
)

Return the modified time and date stamp for this URL.

Parameters
URLthe asking URL
pDateif unequal 0, the function set the date stamp
pTimeif unequal 0, the function set the time stamp
Returns
it was be able to get the date/time stamp

Definition at line 33 of file fstathelper.cxx.

References comphelper::getProcessComponentContext(), ucbhelper::Content::getPropertyValue(), and uno::Any::hasValue().

◆ IsDocument()

bool FStatHelper::IsDocument ( const OUString &  rURL)

◆ IsFolder()

bool FStatHelper::IsFolder ( const OUString &  rURL)