public class SingleLineTransformationMethod extends ReplacementTransformationMethod
Constructor and Description |
---|
SingleLineTransformationMethod() |
Modifier and Type | Method and Description |
---|---|
static SingleLineTransformationMethod |
getInstance() |
protected char[] |
getOriginal()
The characters to be replaced are \n and \r.
|
protected char[] |
getReplacement()
The character \n is replaced with is space;
the character \r is replaced with is FEFF (zero width space).
|
getTransformation, onFocusChanged
protected char[] getOriginal()
getOriginal
in class ReplacementTransformationMethod
protected char[] getReplacement()
getReplacement
in class ReplacementTransformationMethod
public static SingleLineTransformationMethod getInstance()