// // MPURLParameter.h // MPOAuthConnection // // Created by Karl Adam on 08.12.05. // Copyright 2008 matrixPointer. All rights reserved. // #import @interface MPURLRequestParameter : NSObject { NSString *name; NSString *value; } - (void)setName:(NSString *)theName; - (NSString *)name; - (void)setValue:(NSString *)theValue; - (NSString *)value; + (NSArray *)parametersFromString:(NSString *)inString; + (NSArray *)parametersFromDictionary:(NSDictionary *)inDictionary; + (NSDictionary *)parameterDictionaryFromString:(NSString *)inString; + (NSString *)parameterStringForParameters:(NSArray *)inParameters; + (NSString *)parameterStringForDictionary:(NSDictionary *)inParameterDictionary; - (id)initWithName:(NSString *)inName andValue:(NSString *)inValue; - (NSString *)URLEncodedParameterString; @end