LibreOffice
LibreOffice 24.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 
20 
21 
22 module com { module sun { module star { module util {
23 
24 
41 published struct URL
42 {
53  string Complete;
54 
58  string Main;
59 
62  string Protocol;
63 
66  string User;
67 
70  string Password;
71 
74  string Server;
75 
78  short Port;
79 
82  string Path;
83 
93  string Name;
94 
97  string Arguments;
98 
101  string Mark;
102 
103 };
104 
105 
106 }; }; }; };
107 
108 /* 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:82
string Arguments
contains the arguments part of the URL, for example, "a=b"
Definition: URL.idl:97
string Mark
contains the mark part of the URL, for example, "xyz"
Definition: URL.idl:101
Definition: Ambiguous.idl:20
string Name
contains the last segment of the hierarchical path of the URL, for the above example, "foo.txt"
Definition: URL.idl:93
string Password
contains the users password of the URL, for example, "pass"
Definition: URL.idl:70
short Port
contains the port at the server of the URL, for example, "8080"
Definition: URL.idl:78
string Server
contains the server part of the URL, for example, "www.sun.de"
Definition: URL.idl:74
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:53
string Protocol
contains the protocol (scheme) of the URL, for example, "http"
Definition: URL.idl:62
represents the structure of a Uniform Resource Locator.
Definition: URL.idl:41
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:58
string User
contains the user-identifier of the URL, for example, "me"
Definition: URL.idl:66