Monotone-Parent: 56f8217cb19f50d50429b4f745548b63bd418877

Monotone-Revision: 844ddef9e05b2d52503e6a44804f1d3036558771

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2012-08-13T15:26:06
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2012-08-13 15:26:06 +00:00
parent a224a100db
commit 7d7724a5f5

View File

@@ -31,6 +31,7 @@
@interface NSString (SOGoURLExtension)
/* URL handling */
- (NSString *) composeURLWithAction: (NSString *) action
parameters: (NSDictionary *) urlParameters
andHash: (BOOL) useHash;
@@ -40,13 +41,21 @@
- (NSString *) stringByDetectingURLs;
/* escaping */
- (NSString *) doubleQuotedString;
- (NSString *) jsonRepresentation;
/* CSS and URL safety */
- (NSString *) asCSSIdentifier;
- (NSString *) fromCSSIdentifier;
/* SQL safety */
- (NSString *) asSafeSQLString;
/* JSON */
- (NSString *) jsonRepresentation;
- (BOOL) isJSONString;
- (id) objectFromJSONString;
/* bare email addresses */
- (NSString *) pureEMailAddress;
@@ -54,6 +63,7 @@
- (NSRange) _rangeOfURLInRange: (NSRange) refRange;
/* LDAP */
- (BOOL) caseInsensitiveMatches: (NSString *) match;
#ifndef GNUSTEP_BASE_LIBRARY
@@ -62,12 +72,6 @@
- (int) timeValue;
- (BOOL) isJSONString;
- (id) objectFromJSONString;
- (NSString *) asSafeSQLString;
- (NSUInteger) countOccurrencesOfString: (NSString *) substring;