Click or drag to resize
AbstractFilePreTweaker Methods

The AbstractFilePreTweaker type exposes the following members.

Methods
  NameDescription
Protected methodTweak
This method should be overridden to provide an implementation of the processing performed before the native file is parsed by the framework.
Public methodTweakFilePreParsing
Default implementation of the INativeFileTweaker.TweakFilePreParsing method that will check to see if the file will be tweaked (see WillFileBeTweaked), and whether the encoding has been detected during sniffing if RequireValidEncoding is true and then call Tweak. Derived classes should normally override the Tweak method instead.
Protected methodWillFileBeTweaked
This method can optionally be overridden to let the framework know whether the tweaking operation will actually modify the file. This helps the framework know whether a backup of the file should be created and can allow read-only files to be processed without error if no tweaking is required. By default, this returns true.
Top
See Also
Community
Edit

Be the first to Edit the community content of this topic.
Comments