Class BeginsWithNamePreprocessor
Implemenation of IFileNamePreprocessor interface that simply removes some string from the name start and converts all \ characters into /.
Inheritance
System.Object
BeginsWithNamePreprocessor
Implements
Namespace: Syncfusion.Compression.Zip
Assembly: Syncfusion.Compression.NET.dll
Syntax
public class BeginsWithNamePreprocessor : Object, IFileNamePreprocessor
Constructors
BeginsWithNamePreprocessor(String)
Initializes new instance of the name preprocessor.
Declaration
public BeginsWithNamePreprocessor(string startToRemove)
Parameters
Type | Name | Description |
---|---|---|
System.String | startToRemove | String to remove from the name start. |
Methods
PreprocessName(String)
Somehow converts full path into name that will be stored in the zip archive.
Declaration
public string PreprocessName(string fullName)
Parameters
Type | Name | Description |
---|---|---|
System.String | fullName | Name to process. |
Returns
Type | Description |
---|---|
System.String | Converted name. |