358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
|
return hash;
}
- copy
{
OFURL *new = [[OFURL alloc] init];
new->scheme = [scheme copy];
new->host = [host copy];
new->port = port;
new->user = [user copy];
new->password = [password copy];
new->path = [path copy];
new->parameters = [parameters copy];
new->query = [query copy];
new->fragment = [fragment copy];
return new;
}
- (OFString*)scheme
{
OF_GETTER(scheme, YES)
|
>
|
|
|
|
|
|
|
|
|
>
>
>
>
|
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
|
return hash;
}
- copy
{
OFURL *new = [[OFURL alloc] init];
@try {
new->scheme = [scheme copy];
new->host = [host copy];
new->port = port;
new->user = [user copy];
new->password = [password copy];
new->path = [path copy];
new->parameters = [parameters copy];
new->query = [query copy];
new->fragment = [fragment copy];
} @catch (id e) {
[new release];
@throw e;
}
return new;
}
- (OFString*)scheme
{
OF_GETTER(scheme, YES)
|