Differences From Artifact [a030f72131]:
- File src/OFURL.h — part of check-in [c655fa54d2] at 2011-01-15 17:59:36 on branch trunk — Improve OFURL. (user: js, size: 3332) [annotate] [blame] [check-ins using]
To Artifact [dd0072857c]:
- File src/OFURL.h — part of check-in [ddd3a6683f] at 2011-02-09 12:33:32 on branch trunk — Add support for relative URLs to OFURL. (user: js, size: 3774) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
43 44 45 46 47 48 49 | @property (copy) OFString *path; @property (copy) OFString *parameters; @property (copy) OFString *query; @property (copy) OFString *fragment; #endif /** | | > > > > > > > > | > > > > > > > > > > | 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 | @property (copy) OFString *path; @property (copy) OFString *parameters; @property (copy) OFString *query; @property (copy) OFString *fragment; #endif /** * \param str A string describing a URL * \return A new, autoreleased OFURL */ + URLWithString: (OFString*)str; /** * \param str A string describing a URL * \param url An URL to which the string is relative * \return A new, autoreleased OFURL */ + URLWithString: (OFString*)str relativeToURL: (OFURL*)url; /** * Initializes an already allocated OFURL. * * \param str A string describing a URL * \return An initialized OFURL */ - initWithString: (OFString*)str; /** * Initializes an already allocated OFURL. * * \param str A string describing a URL * \param url A URL to which the string is relative * \return An initialized OFURL */ - initWithString: (OFString*)str relativeToURL: (OFURL*)url; /** * \return The scheme part of the URL */ - (OFString*)scheme; /** * Set the scheme part of the URL. |
︙ | ︙ |