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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-09-03 UTC."],[],[]]