Save the date! Android Dev Summit is coming to Mountain View, CA on November 7-8, 2018.

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

added in API level 24
public static UnicodeSetSpanner.TrimOption valueOf (String name)

Parameters
name String

Returns
UnicodeSetSpanner.TrimOption

values

added in API level 24
public static final TrimOption[] values ()

Returns
TrimOption[]