android.text.method
Class HideReturnsTransformationMethod
java.lang.Object
android.text.method.ReplacementTransformationMethod
android.text.method.HideReturnsTransformationMethod
- All Implemented Interfaces:
- TransformationMethod
public class HideReturnsTransformationMethod
- extends ReplacementTransformationMethod
This transformation method causes any carriage return characters (\r)
to be hidden by displaying them as zero-width non-breaking space
characters ().
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HideReturnsTransformationMethod
public HideReturnsTransformationMethod()
getOriginal
protected char[] getOriginal()
- The character to be replaced is \r.
- Specified by:
getOriginal in class ReplacementTransformationMethod
getReplacement
protected char[] getReplacement()
- The character that \r is replaced with is .
- Specified by:
getReplacement in class ReplacementTransformationMethod
getInstance
public static HideReturnsTransformationMethod getInstance()
Please submit a feedback, bug or feature