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 sal_Char *pBuffer)
 
static bool parseVMS (FTPDirentry &rEntry, const sal_Char *pBuffer)
 
static bool parseUNIX (FTPDirentry &rEntry, const sal_Char *pBuffer)
 

Static Private Member Functions

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

Detailed Description

Definition at line 102 of file ftpdirp.hxx.

Member Function Documentation

bool FTPDirectoryParser::parseDOS ( FTPDirentry rEntry,
const sal_Char pBuffer 
)
static
bool FTPDirectoryParser::parseUNIX ( FTPDirentry rEntry,
const sal_Char pBuffer 
)
static
bool FTPDirectoryParser::parseUNIX_isDayField ( const sal_Char pStart,
const sal_Char pEnd,
DateTime rDateTime 
)
staticprivate

Definition at line 1103 of file ftpdirp.cxx.

References ftp::DateTime::SetDay().

Referenced by parseUNIX().

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

Definition at line 1005 of file ftpdirp.cxx.

References ftp::DateTime::SetMonth().

Referenced by parseUNIX().

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

Definition at line 952 of file ftpdirp.cxx.

Referenced by parseUNIX().

bool FTPDirectoryParser::parseUNIX_isTime ( const sal_Char pStart,
const sal_Char pEnd,
sal_uInt16  nHour,
DateTime rDateTime 
)
staticprivate
bool FTPDirectoryParser::parseUNIX_isYearTimeField ( const sal_Char pStart,
const sal_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().

bool FTPDirectoryParser::parseVMS ( FTPDirentry rEntry,
const sal_Char pBuffer 
)
static
bool FTPDirectoryParser::setPath ( OUString &  rPath,
const sal_Char value,
sal_Int32  length = -1 
)
staticprivate

Definition at line 1257 of file ftpdirp.cxx.

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

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: