public class NewlineNormalizer extends LineSeparatorHarmonizer implements org.eclipse.xpand2.output.PostProcessor
| Constructor and Description |
|---|
NewlineNormalizer(java.lang.String lineDelimiterToUse) |
| Modifier and Type | Method and Description |
|---|---|
void |
afterClose(org.eclipse.xpand2.output.FileHandle impl) |
void |
beforeWriteAndClose(org.eclipse.xpand2.output.FileHandle impl) |
java.lang.String |
normalizeLineDelimiters(java.lang.CharSequence content)
Converts the given content into a
CharSequence that uses only the configured lineDelimiterToUse |
getWhitespaceInformationProvider, postProcess, replaceLineSeparatorspublic void beforeWriteAndClose(org.eclipse.xpand2.output.FileHandle impl)
beforeWriteAndClose in interface org.eclipse.xpand2.output.PostProcessorpublic void afterClose(org.eclipse.xpand2.output.FileHandle impl)
afterClose in interface org.eclipse.xpand2.output.PostProcessorpublic java.lang.String normalizeLineDelimiters(java.lang.CharSequence content)
CharSequence that uses only the configured lineDelimiterToUse