| RegExFilePostTweaker Class |
Namespace: Sdl.FileTypeSupport.Framework.Core.Utilities.NativeApi
The RegExFilePostTweaker type exposes the following members.
| Name | Description | |
|---|---|---|
| RegExFilePostTweaker |
Default constructor. If the object is created with this constructor, then ReplaceInfo
should be set.
| |
| RegExFilePostTweaker(ListString, ListString) |
Constructor that takes two ordered lists of strings that contain the match and replace values to apply to the file.
The first item in the list of matches will be replaced by the first item in the list of replacements, and so on.
| |
| RegExFilePostTweaker(String, String) |
Simple constructor that can be used when there is only a single match/replace to be performed
on the native file.
|
| Name | Description | |
|---|---|---|
| Enabled |
Controls whether the tweaker is run during parsing. Default is true.
(Inherited from AbstractFilePostTweaker.) | |
| MessageReporter |
The default implementation stores the message reporter in a field.
(Inherited from AbstractFilePostTweaker.) | |
| Name |
The property contains a name for the file tweaker that can be overridden in derived classes. This name is used in error messages.
(Inherited from AbstractFilePostTweaker.) | |
| ReplaceInfo |
The list of RegEx match and replace values. These values will be used
during either the Tweak or UnTweak processes depending on whether the FileTweaker is added to the
Extractor or to the Generator.
| |
| RequireValidEncoding |
This property governs whether the File Tweaker requires encoding information before it will tweak a file. This may be needed
to ensure that the file the tweaker uses the correct encoding.
(Inherited from AbstractFilePostTweaker.) |
| Name | Description | |
|---|---|---|
| Tweak |
VisitListElement that is overridden to provide an implementations of the Tweaking
(Overrides AbstractFilePostTweakerTweak(INativeOutputFileProperties).) | |
| TweakFilePostWriting |
Default implementation of the INativeFileTweaker.TweakFilePostWriting method that calls Tweak. Derived classes
should normally override the Tweak method instead.
(Inherited from AbstractFilePostTweaker.) |