Added in API level 24
UnicodeSetSpanner.TrimOption
public
static
final
enum
UnicodeSetSpanner.TrimOption
extends Enum<UnicodeSetSpanner.TrimOption>
java.lang.Object | ||
↳ | java.lang.Enum<android.icu.text.UnicodeSetSpanner.TrimOption> | |
↳ | android.icu.text.UnicodeSetSpanner.TrimOption |
Options for the trim() method
Summary
Enum values | |
---|---|
UnicodeSetSpanner.TrimOption |
BOTH
Trim leading and trailing spans. |
UnicodeSetSpanner.TrimOption |
LEADING
Trim leading spans. |
UnicodeSetSpanner.TrimOption |
TRAILING
Trim trailing spans. |
Public methods | |
---|---|
static
UnicodeSetSpanner.TrimOption
|
valueOf(String name)
|
static
final
TrimOption[]
|
values()
|
Inherited methods | |
---|---|
Enum values
BOTH
Added in API level 24
public static final UnicodeSetSpanner.TrimOption BOTH
Trim leading and trailing spans.
LEADING
Added in API level 24
public static final UnicodeSetSpanner.TrimOption LEADING
Trim leading spans.
TRAILING
Added in API level 24
public static final UnicodeSetSpanner.TrimOption TRAILING
Trim trailing spans.
Public methods
valueOf
public static UnicodeSetSpanner.TrimOption valueOf (String name)
Parameters | |
---|---|
name |
String |
Returns | |
---|---|
UnicodeSetSpanner.TrimOption |
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 2024-09-03 UTC.
[null,null,["Last updated 2024-09-03 UTC."],[],[]]