Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members

FXURL.h
1 /********************************************************************************
2 * *
3 * U R L M a n i p u l a t i o n *
4 * *
5 *********************************************************************************
6 * Copyright (C) 2000,2022 by Jeroen van der Zijp. All Rights Reserved. *
7 *********************************************************************************
8 * This library is free software; you can redistribute it and/or modify *
9 * it under the terms of the GNU Lesser General Public License as published by *
10 * the Free Software Foundation; either version 3 of the License, or *
11 * (at your option) any later version. *
12 * *
13 * This library is distributed in the hope that it will be useful, *
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of *
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
16 * GNU Lesser General Public License for more details. *
17 * *
18 * You should have received a copy of the GNU Lesser General Public License *
19 * along with this program. If not, see <http://www.gnu.org/licenses/> *
20 ********************************************************************************/
21 #ifndef FXURL_H
22 #define FXURL_H
23 
24 namespace FX {
25 
26 namespace FXURL {
27 
29  extern FXAPI FXString encode(const FXString& string,const FXchar* set=nullptr);
30 
32  extern FXAPI FXString decode(const FXString& string);
33 
35  extern FXAPI FXString scheme(const FXString& string);
36 
38  extern FXAPI FXString username(const FXString& string);
39 
41  extern FXAPI FXString password(const FXString& string);
42 
44  extern FXAPI FXString host(const FXString& string);
45 
47  extern FXAPI FXint port(const FXString& string,FXint def=0);
48 
50  extern FXAPI FXString path(const FXString& string);
51 
53  extern FXAPI FXString query(const FXString& string);
54 
56  extern FXAPI FXString fragment(const FXString& string);
57 
58 
60  extern FXAPI FXString fileToURL(const FXString& string);
61 
63  extern FXAPI FXString fileFromURL(const FXString& string);
64 
65 
67  extern FXAPI FXString filesToURIList(const FXString* files);
68 
70  extern FXAPI FXString* filesFromURIList(const FXString& urilist);
71  }
72 
73 }
74 
75 #endif
Definition: FX4Splitter.h:28

Copyright © 1997-2022 Jeroen van der Zijp