C# Class ExcelToolKit.ZipWorker

Inheritance: IDisposable
Mostra file Open project: fanfeilong/exceltk Class Usage Examples

Public Methods

Method Description
Dispose ( ) : void
Extract ( Stream fileStream ) : bool

Extracts the specified zip file stream.

GetSharedStringsStream ( ) : Stream

Gets the shared strings stream.

GetStylesStream ( ) : Stream

Gets the styles stream.

GetWorkbookRelsStream ( ) : Stream

Gets the workbook rels stream.

GetWorkbookStream ( ) : Stream

Gets the workbook stream.

GetWorksheetRelsStream ( string sheetPath ) : Stream
GetWorksheetStream ( int sheetId ) : Stream

Gets the worksheet stream.

GetWorksheetStream ( string sheetPath ) : Stream
ZipWorker ( ) : System

Private Methods

Method Description
CheckFolderTree ( ) : bool
CleanFromTemp ( bool catchIoError ) : void
Dispose ( bool disposing ) : void
ExtractZipEntry ( ZipFile zipFile, ZipEntry entry ) : void
GetStream ( string filePath ) : Stream
NewTempPath ( ) : void

Method Details

Dispose() public method

public Dispose ( ) : void
return void

Extract() public method

Extracts the specified zip file stream.
public Extract ( Stream fileStream ) : bool
fileStream Stream The zip file stream.
return bool

GetSharedStringsStream() public method

Gets the shared strings stream.
public GetSharedStringsStream ( ) : Stream
return Stream

GetStylesStream() public method

Gets the styles stream.
public GetStylesStream ( ) : Stream
return Stream

GetWorkbookRelsStream() public method

Gets the workbook rels stream.
public GetWorkbookRelsStream ( ) : Stream
return Stream

GetWorkbookStream() public method

Gets the workbook stream.
public GetWorkbookStream ( ) : Stream
return Stream

GetWorksheetRelsStream() public method

public GetWorksheetRelsStream ( string sheetPath ) : Stream
sheetPath string
return Stream

GetWorksheetStream() public method

Gets the worksheet stream.
public GetWorksheetStream ( int sheetId ) : Stream
sheetId int The sheet id.
return Stream

GetWorksheetStream() public method

public GetWorksheetStream ( string sheetPath ) : Stream
sheetPath string
return Stream

ZipWorker() public method

public ZipWorker ( ) : System
return System