Package org.eclipse.xtext.generator
Interface IFilePostProcessor
-
- All Known Implementing Classes:
LineSeparatorHarmonizer
public interface IFilePostProcessor
TheIFilePostProcessor
allows to rewrite the contents that will be written into a given file. A common use case is to fix-up the line delimiters and make all of them homogeneous. The extension interfaceIFilePostProcessorExtension
provides additional information for implementors which is the target encoding of the file.- Since:
- 2.3
- See Also:
LineSeparatorHarmonizer
,IFilePostProcessorExtension (since 2.4)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.CharSequence
postProcess(org.eclipse.emf.common.util.URI fileURI, java.lang.CharSequence content)
-