LibreOffice Module ucb (master) 1
Static Public Member Functions | Static Private Member Functions | List of all members
ftp::FTPDirectoryParser Class Reference

#include <ftpdirp.hxx>

Static Public Member Functions

static bool parseDOS (FTPDirentry &rEntry, const char *pBuffer)
 
static bool parseVMS (FTPDirentry &rEntry, const char *pBuffer)
 
static bool parseUNIX (FTPDirentry &rEntry, const char *pBuffer)
 

Static Private Member Functions

static bool parseUNIX_isSizeField (const char *pStart, const char *pEnd, sal_uInt32 &rSize)
 
static bool parseUNIX_isMonthField (const char *pStart, const char *pEnd, DateTime &rDateTime)
 
static bool parseUNIX_isDayField (const char *pStart, const char *pEnd, DateTime &rDateTime)
 
static bool parseUNIX_isYearTimeField (const char *pStart, const char *pEnd, DateTime &rDateTime)
 
static bool parseUNIX_isTime (const char *pStart, const char *pEnd, sal_uInt16 nHour, DateTime &rDateTime)
 
static void setYear (DateTime &rDateTime, sal_uInt16 nYear)
 
static bool setPath (OUString &rPath, const char *value, sal_Int32 length=-1)
 

Detailed Description

Definition at line 100 of file ftpdirp.hxx.

Member Function Documentation

◆ parseDOS()

bool FTPDirectoryParser::parseDOS ( FTPDirentry rEntry,
const char *  pBuffer 
)
static

◆ parseUNIX()

bool FTPDirectoryParser::parseUNIX ( FTPDirentry rEntry,
const char *  pBuffer 
)
static

◆ parseUNIX_isDayField()

bool FTPDirectoryParser::parseUNIX_isDayField ( const char *  pStart,
const char *  pEnd,
DateTime rDateTime 
)
staticprivate

Definition at line 1103 of file ftpdirp.cxx.

References ftp::DateTime::SetDay().

Referenced by parseUNIX().

◆ parseUNIX_isMonthField()

bool FTPDirectoryParser::parseUNIX_isMonthField ( const char *  pStart,
const char *  pEnd,
DateTime rDateTime 
)
staticprivate

Definition at line 1005 of file ftpdirp.cxx.

References ftp::DateTime::SetMonth().

Referenced by parseUNIX().

◆ parseUNIX_isSizeField()

bool FTPDirectoryParser::parseUNIX_isSizeField ( const char *  pStart,
const char *  pEnd,
sal_uInt32 &  rSize 
)
staticprivate

Definition at line 952 of file ftpdirp.cxx.

Referenced by parseUNIX().

◆ parseUNIX_isTime()

bool FTPDirectoryParser::parseUNIX_isTime ( const char *  pStart,
const char *  pEnd,
sal_uInt16  nHour,
DateTime rDateTime 
)
staticprivate

◆ parseUNIX_isYearTimeField()

bool FTPDirectoryParser::parseUNIX_isYearTimeField ( const char *  pStart,
const char *  pEnd,
DateTime rDateTime 
)
staticprivate

Definition at line 1130 of file ftpdirp.cxx.

References parseUNIX_isTime(), ftp::DateTime::SetTime(), and ftp::DateTime::SetYear().

Referenced by parseUNIX().

◆ parseVMS()

bool FTPDirectoryParser::parseVMS ( FTPDirentry rEntry,
const char *  pBuffer 
)
static

◆ setPath()

bool FTPDirectoryParser::setPath ( OUString &  rPath,
const char *  value,
sal_Int32  length = -1 
)
staticprivate

Definition at line 1257 of file ftpdirp.cxx.

References length, and value.

Referenced by parseDOS(), parseUNIX(), and parseVMS().

◆ setYear()

void FTPDirectoryParser::setYear ( DateTime rDateTime,
sal_uInt16  nYear 
)
staticprivate

Definition at line 1222 of file ftpdirp.cxx.

References ftp::DateTime::SetYear().

Referenced by parseDOS(), and parseVMS().


The documentation for this class was generated from the following files: