LibreOffice
LibreOffice 7.2 SDK API Reference
URL.idl
Go to the documentation of this file.
1/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2/*
3 * This file is part of the LibreOffice project.
4 *
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 *
9 * This file incorporates work covered by the following license notice:
10 *
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
18 */
19#ifndef __com_sun_star_util_URL_idl__
20#define __com_sun_star_util_URL_idl__
21
22
23
24module com { module sun { module star { module util {
25
26
43published struct URL
44{
55 string Complete;
56
60 string Main;
61
64 string Protocol;
65
68 string User;
69
72 string Password;
73
76 string Server;
77
80 short Port;
81
84 string Path;
85
95 string Name;
96
99 string Arguments;
100
103 string Mark;
104
105};
106
107
108}; }; }; };
109
110#endif
111
112/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
Definition: Accessible.idl:22
represents the structure of a Uniform Resource Locator.
Definition: URL.idl:44
string Protocol
contains the protocol (scheme) of the URL, for example, "http"
Definition: URL.idl:64
string Mark
contains the mark part of the URL, for example, "xyz"
Definition: URL.idl:103
string Name
contains the last segment of the hierarchical path of the URL, for the above example,...
Definition: URL.idl:95
string Server
contains the server part of the URL, for example, "www.sun.de"
Definition: URL.idl:76
short Port
contains the port at the server of the URL, for example, "8080"
Definition: URL.idl:80
string Password
contains the users password of the URL, for example, "pass"
Definition: URL.idl:72
string User
contains the user-identifier of the URL, for example, "me"
Definition: URL.idl:68
string Arguments
contains the arguments part of the URL, for example, "a=b"
Definition: URL.idl:99
string Complete
contains the string representation of the complete URL, for example, http://www.sun....
Definition: URL.idl:55
string Main
contains the URL without a mark and without arguments, for example, http://www.sun....
Definition: URL.idl:60
string Path
contains all segments but the last one of the hierarchical path of the URL, for example,...
Definition: URL.idl:84