~ubuntu-branches/ubuntu/trusty/gnustep-base/trusty

« back to all changes in this revision

Viewing changes to Source/NSURL.m

Tags: upstream-1.11.2
ImportĀ upstreamĀ versionĀ 1.11.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
 
22
22
   You should have received a copy of the GNU Library General Public
23
23
   License along with this library; if not, write to the Free
24
 
   Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111 USA.
 
24
   Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111 USA.
25
25
 
26
26
   <title>NSURL class reference</title>
27
 
   $Date: 2005/02/22 11:22:44 $ $Revision: 1.43 $
 
27
   $Date: 2005/11/06 13:53:40 $ $Revision: 1.45 $
28
28
*/
29
29
 
30
30
/*
467
467
 * how a URL is formatted, and what is legal in a URL are -
468
468
 * 1808, 1738, and 2396.<br />
469
469
 * Handling of the underlying resources is carried out by NSURLHandle
470
 
 * objects, but NSURL provides a simoplified API wrapping these objects.
 
470
 * objects, but NSURL provides a simplified API wrapping these objects.
471
471
 */
472
472
@implementation NSURL
473
473
 
1016
1016
}
1017
1017
 
1018
1018
/**
1019
 
 * Returns the full string describing the receiver resiolved against its base.
 
1019
 * Returns the full string describing the receiver resolved against its base.
1020
1020
 */
1021
1021
- (NSString*) absoluteString
1022
1022
{
1098
1098
}
1099
1099
 
1100
1100
/**
1101
 
 * Returns YES if the recevier is a file URL, NO otherwise.
 
1101
 * Returns YES if the receiver is a file URL, NO otherwise.
1102
1102
 */
1103
1103
- (BOOL) isFileURL
1104
1104
{
1215
1215
 * Replaces percent escapes with unescaped values, interpreting non-ascii
1216
1216
 * character sequences as UTF8.<br />
1217
1217
 * NB. This does not conform strictly to the RFCs, in that it includes a
1218
 
 * leading slash ('/') character (wheras the path part of a URL strictly
 
1218
 * leading slash ('/') character (whereas the path part of a URL strictly
1219
1219
 * should not) and the interpretation of non-ascii character is (strictly
1220
1220
 * speaking) undefined.<br />
1221
1221
 * Also, this breaks strict conformance in that a URL of file scheme is