Inherits from OSSObject : NSObject
Conforms to NSXMLParserDelegate
Declared in OSSMultipart.h
OSSMultipart.m

Overview

@class

Properties

modificationDate

用于记录文件的最新修改时间

@property (nonatomic, strong) NSString *modificationDate

Discussion

@property

Declared In

OSSMultipart.h

partList

用于存放所有的分块

@property (nonatomic, strong) NSMutableArray *partList

Discussion

@property

Declared In

OSSMultipart.h

pathHash

用于记录文件路径字符串的hash值

@property (nonatomic, strong) NSString *pathHash

Discussion

@property

Declared In

OSSMultipart.h

savedPart

用于记录上传进度

@property (nonatomic, strong) NSMutableDictionary *savedPart

Discussion

@property

Declared In

OSSMultipart.h

shouldProcess

xml的解析开关

@property (nonatomic) int shouldProcess

Discussion

@property

Declared In

OSSMultipart.h

totalData

用于存放待上传的数据

@property (nonatomic, strong) NSMutableData *totalData

Discussion

@property

Declared In

OSSMultipart.h

uploadID

记录uploadID

@property (nonatomic, strong) NSMutableString *uploadID

Discussion

@property

Declared In

OSSMultipart.h

xml

用于xml解析

@property (nonatomic, strong) NSXMLParser *xml

Discussion

@property

Declared In

OSSMultipart.h

Instance Methods

initWith:

初始化

- (instancetype)initWith:(OSSFile *)file

Discussion

@method

Declared In

OSSMultipart.h

uploadWithPath:withProgressBlock:withCallback:

进行分块上传

- (void)uploadWithPath:(NSString *)path withProgressBlock:(void ( ^ ) ( float ))progressBlock withCallback:(void ( ^ ) ( BOOL , NSError *))errorCallback

Discussion

@method

Declared In

OSSMultipart.h