CocoaShare/Classes/Dropbox/DropboxSDK/MPOAuth/MPURLRequestParameter.h
2011-02-01 10:19:26 -06:00

32 lines
844 B
Objective-C

//
// MPURLParameter.h
// MPOAuthConnection
//
// Created by Karl Adam on 08.12.05.
// Copyright 2008 matrixPointer. All rights reserved.
//
#import <Foundation/Foundation.h>
@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