Interface IZipClient
Interface IZipClient
Namespace: MediaBrowser.Model.IO
Assembly: MediaBrowser.Model.dll
Syntax
public interface IZipClient
Methods
ExtractAll(Stream, String, Boolean)
Extracts all.
Declaration
void ExtractAll(Stream source, string targetPath, bool overwriteExistingFiles)
Parameters
Type | Name | Description |
---|---|---|
System.IO.Stream | source | The source. |
System.String | targetPath | The target path. |
System.Boolean | overwriteExistingFiles | if set to |
ExtractAll(String, String, Boolean)
Extracts all.
Declaration
void ExtractAll(string sourceFile, string targetPath, bool overwriteExistingFiles)
Parameters
Type | Name | Description |
---|---|---|
System.String | sourceFile | The source file. |
System.String | targetPath | The target path. |
System.Boolean | overwriteExistingFiles | if set to |
ExtractAllFrom7z(Stream, String, Boolean)
Extracts all from7z.
Declaration
void ExtractAllFrom7z(Stream source, string targetPath, bool overwriteExistingFiles)
Parameters
Type | Name | Description |
---|---|---|
System.IO.Stream | source | The source. |
System.String | targetPath | The target path. |
System.Boolean | overwriteExistingFiles | if set to |
ExtractAllFrom7z(String, String, Boolean)
Extracts all from7z.
Declaration
void ExtractAllFrom7z(string sourceFile, string targetPath, bool overwriteExistingFiles)
Parameters
Type | Name | Description |
---|---|---|
System.String | sourceFile | The source file. |
System.String | targetPath | The target path. |
System.Boolean | overwriteExistingFiles | if set to |
ExtractAllFromGz(Stream, String, Boolean)
Declaration
void ExtractAllFromGz(Stream source, string targetPath, bool overwriteExistingFiles)
Parameters
Type | Name | Description |
---|---|---|
System.IO.Stream | source | |
System.String | targetPath | |
System.Boolean | overwriteExistingFiles |
ExtractAllFromTar(Stream, String, Boolean)
Extracts all from tar.
Declaration
void ExtractAllFromTar(Stream source, string targetPath, bool overwriteExistingFiles)
Parameters
Type | Name | Description |
---|---|---|
System.IO.Stream | source | The source. |
System.String | targetPath | The target path. |
System.Boolean | overwriteExistingFiles | if set to |
ExtractAllFromTar(String, String, Boolean)
Extracts all from tar.
Declaration
void ExtractAllFromTar(string sourceFile, string targetPath, bool overwriteExistingFiles)
Parameters
Type | Name | Description |
---|---|---|
System.String | sourceFile | The source file. |
System.String | targetPath | The target path. |
System.Boolean | overwriteExistingFiles | if set to |
ExtractAllFromZip(Stream, String, Boolean)
Extracts all from zip.
Declaration
void ExtractAllFromZip(Stream source, string targetPath, bool overwriteExistingFiles)
Parameters
Type | Name | Description |
---|---|---|
System.IO.Stream | source | The source. |
System.String | targetPath | The target path. |
System.Boolean | overwriteExistingFiles | if set to |
ExtractFirstFileFromGz(Stream, String, String)
Declaration
void ExtractFirstFileFromGz(Stream source, string targetPath, string defaultFileName)
Parameters
Type | Name | Description |
---|---|---|
System.IO.Stream | source | |
System.String | targetPath | |
System.String | defaultFileName |
ExtractFirstFileFromXZ(Stream, String, CancellationToken)
Declaration
Task ExtractFirstFileFromXZ(Stream source, string targetFile, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
System.IO.Stream | source | |
System.String | targetFile | |
System.Threading.CancellationToken | cancellationToken |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task |