CocoaShare/Classes/Dropbox/DropboxSDK/MPOAuth/MPURLRequestParameter.h

32 lines
844 B
C
Raw Normal View History

2011-02-01 09:51:02 -06:00
//
// 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