Package echo.output
Class NewlineFormatter
- java.lang.Object
-
- echo.output.NewlineFormatter
-
public class NewlineFormatter extends java.lang.Object
Formats end of line characters according to desired format
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.String
lineSeparator
private static java.lang.String
NEWLINES_REG_EX
-
Constructor Summary
Constructors Constructor Description NewlineFormatter(PluginParameters pluginParameters)
Creates a new instance of NewlineSeparator
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
format(java.lang.String output)
Format the message with the desired end of line characters
-
-
-
Field Detail
-
NEWLINES_REG_EX
private static final java.lang.String NEWLINES_REG_EX
- See Also:
- Constant Field Values
-
lineSeparator
private final java.lang.String lineSeparator
-
-
Constructor Detail
-
NewlineFormatter
public NewlineFormatter(PluginParameters pluginParameters)
Creates a new instance of NewlineSeparator- Parameters:
pluginParameters
- The user-supplied plugin parameters
-
-