Android.Text.TextUtils Members

The members of Android.Text.TextUtils are listed below.

See Also: Inherited members from Java.Lang.Object

Protected Constructors

A constructor used when creating managed representations of JNI objects; called by the runtime.

Public Properties

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Public Methods

static
CommaEllipsize(string, TextPaint, float, string, string) : string
Documentation for this section has not yet been entered.
static
CommaEllipsizeFormatted(Java.Lang.ICharSequence, TextPaint, float, string, string) : Java.Lang.ICharSequence
Converts a CharSequence of the comma-separated form "Andy, Bob, Charles, David" that is too wide to fit into the specified width into one like "Andy, Bob, 2 more".
static
Concat(params string[]) : string
Documentation for this section has not yet been entered.
static
ConcatFormatted(params Java.Lang.ICharSequence[]) : Java.Lang.ICharSequence
Documentation for this section has not yet been entered.
static
CopySpansFrom(ISpanned, int, int, Java.Lang.Class, ISpannable, int)
Copies the spans from the region start...end in source to the region destoff...destoff+end-start in dest.
static
DumpSpans(Java.Lang.ICharSequence, Android.Util.IPrinter, string)
Debugging tool to print the spans in a CharSequence.
static
DumpSpans(string, Android.Util.IPrinter, string)
Documentation for this section has not yet been entered.
static
Ellipsize(string, TextPaint, float, TextUtils.TruncateAt) : string
Documentation for this section has not yet been entered.
static
Ellipsize(string, TextPaint, float, TextUtils.TruncateAt, bool, TextUtils.IEllipsizeCallback) : string
Documentation for this section has not yet been entered.
static
EllipsizeFormatted(Java.Lang.ICharSequence, TextPaint, float, TextUtils.TruncateAt) : Java.Lang.ICharSequence
Returns the original text if it fits in the specified width given the properties of the specified Paint, or, if it does not fit, a truncated copy with ellipsis character added at the specified edge or center.
static
EllipsizeFormatted(Java.Lang.ICharSequence, TextPaint, float, TextUtils.TruncateAt, bool, TextUtils.IEllipsizeCallback) : Java.Lang.ICharSequence
Returns the original text if it fits in the specified width given the properties of the specified Paint, or, if it does not fit, a copy with ellipsis character added at the specified edge or center.
static
Equals(Java.Lang.ICharSequence, Java.Lang.ICharSequence) : bool
Returns true if a and b are equal, including if they are both null.
static
Equals(string, string) : bool
Documentation for this section has not yet been entered.
static
ExpandTemplate(string, params string[]) : string
Documentation for this section has not yet been entered.
static
ExpandTemplateFormatted(Java.Lang.ICharSequence, params Java.Lang.ICharSequence[]) : Java.Lang.ICharSequence
Documentation for this section has not yet been entered.
static
GetCapsMode(Java.Lang.ICharSequence, int, CapitalizationMode) : CapitalizationMode
Determine what caps mode should be in effect at the current offset in the text.
static
GetCapsMode(string, int, CapitalizationMode) : CapitalizationMode
Documentation for this section has not yet been entered.
static
GetChars(Java.Lang.ICharSequence, int, int, char[], int)
static
GetChars(string, int, int, char[], int)
Documentation for this section has not yet been entered.
static
GetLayoutDirectionFromLocale(Java.Util.Locale) : Android.Views.TextDirection
Return the layout direction for a given Locale
static
GetOffsetAfter(Java.Lang.ICharSequence, int) : int
static
GetOffsetAfter(string, int) : int
Documentation for this section has not yet been entered.
static
GetOffsetBefore(Java.Lang.ICharSequence, int) : int
static
GetOffsetBefore(string, int) : int
Documentation for this section has not yet been entered.
static
GetReverse(string, int, int) : string
Documentation for this section has not yet been entered.
static
GetReverseFormatted(Java.Lang.ICharSequence, int, int) : Java.Lang.ICharSequence
static
GetTrimmedLength(Java.Lang.ICharSequence) : int
Returns the length that the specified CharSequence would have if spaces and control characters were trimmed from the start and end, as by Java.Lang.String.Trim.
static
GetTrimmedLength(string) : int
Documentation for this section has not yet been entered.
static
HtmlEncode(string) : string
Html-encode the string.
static
IndexOf(Java.Lang.ICharSequence, Java.Lang.ICharSequence) : int
static
IndexOf(Java.Lang.ICharSequence, char) : int
static
IndexOf(string, char) : int
Documentation for this section has not yet been entered.
static
IndexOf(string, string) : int
Documentation for this section has not yet been entered.
static
IndexOf(Java.Lang.ICharSequence, Java.Lang.ICharSequence, int) : int
static
IndexOf(Java.Lang.ICharSequence, char, int) : int
static
IndexOf(string, char, int) : int
Documentation for this section has not yet been entered.
static
IndexOf(string, string, int) : int
Documentation for this section has not yet been entered.
static
IndexOf(Java.Lang.ICharSequence, Java.Lang.ICharSequence, int, int) : int
static
IndexOf(Java.Lang.ICharSequence, char, int, int) : int
static
IndexOf(string, char, int, int) : int
Documentation for this section has not yet been entered.
static
IndexOf(string, string, int, int) : int
Documentation for this section has not yet been entered.
static
IsDigitsOnly(Java.Lang.ICharSequence) : bool
Returns whether the given CharSequence contains only digits.
static
IsDigitsOnly(string) : bool
Documentation for this section has not yet been entered.
static
IsEmpty(Java.Lang.ICharSequence) : bool
Returns true if the string is null or 0-length.
static
IsEmpty(string) : bool
Documentation for this section has not yet been entered.
static
IsGraphic(Java.Lang.ICharSequence) : bool
Returns whether the given CharSequence contains any printable characters.
static
IsGraphic(char) : bool
Returns whether this character is a printable character.
static
IsGraphic(string) : bool
Documentation for this section has not yet been entered.
static
Join(Java.Lang.ICharSequence, Java.Lang.IIterable) : string
Returns a string containing the tokens joined by delimiters.
static
Join(Java.Lang.ICharSequence, Java.Lang.Object[]) : string
Returns a string containing the tokens joined by delimiters.
static
Join(string, Java.Lang.IIterable) : string
Documentation for this section has not yet been entered.
static
Join(string, Java.Lang.Object[]) : string
Documentation for this section has not yet been entered.
static
LastIndexOf(Java.Lang.ICharSequence, char) : int
static
LastIndexOf(string, char) : int
Documentation for this section has not yet been entered.
static
LastIndexOf(Java.Lang.ICharSequence, char, int) : int
static
LastIndexOf(string, char, int) : int
Documentation for this section has not yet been entered.
static
LastIndexOf(Java.Lang.ICharSequence, char, int, int) : int
static
LastIndexOf(string, char, int, int) : int
Documentation for this section has not yet been entered.
static
RegionMatches(Java.Lang.ICharSequence, int, Java.Lang.ICharSequence, int, int) : bool
static
RegionMatches(string, int, string, int, int) : bool
Documentation for this section has not yet been entered.
static
Replace(string, string[], string[]) : string
Documentation for this section has not yet been entered.
static
ReplaceFormatted(Java.Lang.ICharSequence, string[], Java.Lang.ICharSequence[]) : Java.Lang.ICharSequence
Return a new CharSequence in which each of the source strings is replaced by the corresponding element of the destinations.
static
Split(string, Java.Util.Regex.Pattern) : string[]
Splits a string on a pattern.
static
Split(string, string) : string[]
String.split() returns [''] when the string to be split is empty.
static
StringOrSpannedString(string) : string
Documentation for this section has not yet been entered.
static
StringOrSpannedStringFormatted(Java.Lang.ICharSequence) : Java.Lang.ICharSequence
static
Substring(Java.Lang.ICharSequence, int, int) : string
Create a new String object containing the given range of characters from the source string.
static
Substring(string, int, int) : string
Documentation for this section has not yet been entered.
static
WriteToParcel(Java.Lang.ICharSequence, Android.OS.Parcel, Android.OS.ParcelableWriteFlags)
Flatten a CharSequence and whatever styles can be copied across processes into the parcel.
static
WriteToParcel(string, Android.OS.Parcel, Android.OS.ParcelableWriteFlags)
Documentation for this section has not yet been entered.