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

#include <NeonUri.hxx>

Public Member Functions

 NeonUri (const OUString &inUri)
 
 NeonUri (const ne_uri *inUri)
 
bool operator== (const NeonUri &rOther) const
 
bool operator!= (const NeonUri &rOther) const
 
const OUString & GetURI () const
 
const OUString & GetScheme () const
 
const OUString & GetUserInfo () const
 
const OUString & GetHost () const
 
sal_Int32 GetPort () const
 
const OUString & GetPath () const
 
OUString GetPathBaseName () const
 
OUString GetPathBaseNameUnescaped () const
 
void SetScheme (const OUString &scheme)
 
void AppendPath (const OUString &rPath)
 

Static Public Member Functions

static OUString escapeSegment (const OUString &segment)
 
static OUString unescape (const OUString &string)
 
static OUString makeConnectionEndPointString (const OUString &rHostName, int nPort)
 

Private Member Functions

void init (const OString &rUri, const ne_uri *pUri)
 
void calculateURI ()
 

Private Attributes

OUString mURI
 
OUString mScheme
 
OUString mUserInfo
 
OUString mHostName
 
sal_Int32 mPort
 
OUString mPath
 

Detailed Description

Definition at line 44 of file NeonUri.hxx.

Constructor & Destructor Documentation

NeonUri::NeonUri ( const OUString &  inUri)
explicit
NeonUri::NeonUri ( const ne_uri *  inUri)
explicit
Exceptions
DAVException

Definition at line 75 of file NeonUri.cxx.

References webdav_ucp::DAVException::DAV_INVALID_ARG, and init().

Member Function Documentation

void NeonUri::AppendPath ( const OUString &  rPath)

Definition at line 238 of file NeonUri.cxx.

void NeonUri::calculateURI ( )
private

Definition at line 150 of file NeonUri.cxx.

References aBuf, DEFAULT_FTP_PORT, DEFAULT_HTTP_PORT, and DEFAULT_HTTPS_PORT.

Referenced by SetScheme().

OUString NeonUri::escapeSegment ( const OUString &  segment)
static

Definition at line 248 of file NeonUri.cxx.

const OUString& webdav_ucp::NeonUri::GetHost ( ) const
inline
const OUString& webdav_ucp::NeonUri::GetPath ( ) const
inline
OUString NeonUri::GetPathBaseName ( ) const

Definition at line 199 of file NeonUri.cxx.

References nPos.

Referenced by webdav_ucp::ContentProperties::ContentProperties().

OUString NeonUri::GetPathBaseNameUnescaped ( ) const

Definition at line 233 of file NeonUri.cxx.

Referenced by webdav_ucp::ContentProperties::ContentProperties().

sal_Int32 webdav_ucp::NeonUri::GetPort ( ) const
inline

Definition at line 75 of file NeonUri.hxx.

References mPort.

Referenced by webdav_ucp::NeonSession::CanUse(), and webdav_ucp::NeonSession::NeonSession().

const OUString& webdav_ucp::NeonUri::GetScheme ( ) const
inline

Definition at line 69 of file NeonUri.hxx.

References mScheme.

Referenced by webdav_ucp::NeonSession::CanUse(), and webdav_ucp::NeonSession::NeonSession().

const OUString& webdav_ucp::NeonUri::GetURI ( ) const
inline
const OUString& webdav_ucp::NeonUri::GetUserInfo ( ) const
inline

Definition at line 71 of file NeonUri.hxx.

References mUserInfo.

Referenced by webdav_ucp::NeonSession::NeonAuth().

void NeonUri::init ( const OString &  rUri,
const ne_uri *  pUri 
)
private

Definition at line 115 of file NeonUri.cxx.

OUString NeonUri::makeConnectionEndPointString ( const OUString &  rHostName,
int  nPort 
)
static
bool webdav_ucp::NeonUri::operator!= ( const NeonUri rOther) const
inline

Definition at line 64 of file NeonUri.hxx.

References operator==().

bool NeonUri::operator== ( const NeonUri rOther) const

Definition at line 228 of file NeonUri.cxx.

References mURI.

Referenced by operator!=().

void webdav_ucp::NeonUri::SetScheme ( const OUString &  scheme)
inline

Definition at line 84 of file NeonUri.hxx.

References calculateURI().

OUString NeonUri::unescape ( const OUString &  string)
static

Member Data Documentation

OUString webdav_ucp::NeonUri::mHostName
private

Definition at line 50 of file NeonUri.hxx.

Referenced by GetHost().

OUString webdav_ucp::NeonUri::mPath
private

Definition at line 52 of file NeonUri.hxx.

Referenced by GetPath().

sal_Int32 webdav_ucp::NeonUri::mPort
private

Definition at line 51 of file NeonUri.hxx.

Referenced by GetPort().

OUString webdav_ucp::NeonUri::mScheme
private

Definition at line 48 of file NeonUri.hxx.

Referenced by GetScheme().

OUString webdav_ucp::NeonUri::mURI
private

Definition at line 47 of file NeonUri.hxx.

Referenced by GetURI(), and operator==().

OUString webdav_ucp::NeonUri::mUserInfo
private

Definition at line 49 of file NeonUri.hxx.

Referenced by GetUserInfo().


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