C# Class ESRI.ArcGIS.Client.Toolkit.DataSources.Kml.ZipFile

Simple unzip utility leveraging Silverlight's GetResourceStream
Inheritance: IDisposable
显示文件 Open project: Esri/arcgis-toolkit-sl-wpf Class Usage Examples

Public Methods

Method Description
Dispose ( ) : void

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

GetFileStream ( string filename ) : Stream

Gets the file stream for the specified filename.

Read ( Stream zipFileStream ) : ZipFile

Private Methods

Method Description
CopyBytes ( BinaryReader input, BinaryWriter output, int count ) : void
ParseCentralDirectory ( ) : List
ZipFile ( Stream zipFileStream ) : System

Method Details

Dispose() public method

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
return void

GetFileStream() public method

Gets the file stream for the specified filename.
public GetFileStream ( string filename ) : Stream
filename string The filename.
return Stream

Read() public static method

public static Read ( Stream zipFileStream ) : ZipFile
zipFileStream Stream
return ZipFile