LibreOffice
LibreOffice 6.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 
24 module com { module sun { module star { module util {
25 
26 
43 published 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: */
string Path
contains all segments but the last one of the hierarchical path of the URL, for example, "/pub/test/"
Definition: URL.idl:84
string Arguments
contains the arguments part of the URL, for example, "a=b"
Definition: URL.idl:99
string Mark
contains the mark part of the URL, for example, "xyz"
Definition: URL.idl:103
Definition: Ambiguous.idl:22
string Name
contains the last segment of the hierarchical path of the URL, for the above example, "foo.txt"
Definition: URL.idl:95
string Password
contains the users password of the URL, for example, "pass"
Definition: URL.idl:72
short Port
contains the port at the server of the URL, for example, "8080"
Definition: URL.idl:80
string Server
contains the server part of the URL, for example, "www.sun.de"
Definition: URL.idl:76
string Complete
contains the string representation of the complete URL, for example, http://www.sun.de:8080/pub/test/foo.txt?a=b#xyz
Definition: URL.idl:55
string Protocol
contains the protocol (scheme) of the URL, for example, "http"
Definition: URL.idl:64
represents the structure of an Uniform Resource Locator.
Definition: URL.idl:43
string Main
contains the URL without a mark and without arguments, for example, http://www.sun.de:8080/pub/test/foo.txt
Definition: URL.idl:60
string User
contains the user-identifier of the URL, for example, "me"
Definition: URL.idl:68