89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
|
rangeOfString: @"!"
options: OFStringSearchBackwards].location;
if (pos == OFNotFound)
@throw [OFInvalidArgumentException exception];
archiveIRI = [OFIRI IRIWithString:
[percentEncodedPath substringWithRange: OFMakeRange(0, pos)]
.stringByRemovingPercentEncoding];
path = [percentEncodedPath substringWithRange:
OFMakeRange(pos + 1, percentEncodedPath.length - pos - 1)]
.stringByRemovingPercentEncoding;
if ([scheme isEqual: @"lha"]) {
OFLHAArchive *archive = [OFLHAArchive archiveWithIRI: archiveIRI
mode: mode];
OFLHAArchiveEntry *entry;
|
|
|
<
|
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
|
rangeOfString: @"!"
options: OFStringSearchBackwards].location;
if (pos == OFNotFound)
@throw [OFInvalidArgumentException exception];
archiveIRI = [OFIRI IRIWithString:
[percentEncodedPath substringToIndex: pos]
.stringByRemovingPercentEncoding];
path = [percentEncodedPath substringFromIndex: pos + 1]
.stringByRemovingPercentEncoding;
if ([scheme isEqual: @"lha"]) {
OFLHAArchive *archive = [OFLHAArchive archiveWithIRI: archiveIRI
mode: mode];
OFLHAArchiveEntry *entry;
|