SingleLineTransformationMethod

Class of android.text.method · SingleLineTransformationMethod.java · Android's reference

public class SingleLineTransformationMethod extends ReplacementTransformationMethod

SingleLineTransformationMethod ← ReplacementTransformationMethod

Shows line feeds as spaces, and carriage returns as nothing (a zero-width no-break space).

Constructors

public SingleLineTransformationMethod() empty body source

Methods

public static SingleLineTransformationMethod getInstance() source
protected char[] getOriginal() source
protected char[] getReplacement() source

Made from ScarletNX's Sail at 166ad3910f80. The framework is ScarletNX's (GPL-3.0-or-later); the parts that follow the Android Open Source Project's sources (Apache-2.0) say so in their files.