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
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Syncfusion.Compression.Zip
Assembly: Syncfusion.Compression.Base.dll
Syntax
public class BeginsWithNamePreprocessor : 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. |