open class SingleLineTransformationMethod : ReplacementTransformationMethod
This transformation method causes any newline characters (\n) to be displayed as spaces instead of causing line breaks, and causes carriage return characters (\r) to have no appearance.
Summary
Protected methods |
open CharArray! |
The characters to be replaced are \n and \r.
|
open CharArray! |
The character \n is replaced with is space; the character \r is replaced with is FEFF (zero width space).
|
Public constructors
SingleLineTransformationMethod()
Public methods
Protected methods
getOriginal
protected open fun getOriginal(): CharArray!
The characters to be replaced are \n and \r.
getReplacement
protected open fun getReplacement(): CharArray!
The character \n is replaced with is space; the character \r is replaced with is FEFF (zero width space).
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-10 UTC.
[null,null,["Last updated 2025-02-10 UTC."],[],[]]