22#include <rtl/ustring.hxx>
26#define JOBURL_EVENT_STR "event="
27#define JOBURL_EVENT_LEN 6
29#define JOBURL_ALIAS_STR "alias="
30#define JOBURL_ALIAS_LEN 6
32#define JOBURL_SERVICE_STR "service="
33#define JOBURL_SERVICE_LEN 8
35#define JOBURL_PART_SEPARATOR ';'
36#define JOBURL_PARTARGS_SEPARATOR ','
89 JobURL (
const OUString& sURL );
91 bool getEvent ( OUString& sEvent )
const;
92 bool getAlias ( OUString& sAlias )
const;
100 const char* pPartIdentifier ,
101 sal_Int32 nPartLength ,
102 OUString& rPartValue ,
103 OUString& rPartArguments );
can be used to parse, validate and work with job URL's @descr Job URLs are specified by the following...
bool getService(OUString &sService) const
get the service item of this job URL @descr Because the three possible parts of such URL (event,...
bool isValid() const
knows, if this job URL object hold a valid URL inside
bool getEvent(OUString &sEvent) const
get the event item of this job URL @descr Because the three possible parts of such URL (event,...
OUString m_sAlias
holds the alias part of a job URL
ERequest
possible states of a job URL Note: These values are used in combination.
@ E_SERVICE
it's a service
@ E_UNKNOWN
mark a job URL as not valid
bool getAlias(OUString &sAlias) const
get the alias item of this job URL @descr Because the three possible parts of such URL (event,...
OUString m_sEvent
holds the event part of a job URL
static bool implst_split(std::u16string_view sPart, const char *pPartIdentifier, sal_Int32 nPartLength, OUString &rPartValue, OUString &rPartArguments)
searches for a special identifier in the given string and split it @descr If the given identifier cou...
JobURL(const OUString &sURL)
special ctor @descr It initialize this new instance with a (hopefully) valid job URL.
OUString m_sService
holds the service part of a job URL
sal_uInt32 m_eRequest
knows the state of this URL instance