C F I J L P T
All Classes All Packages
All Classes All Packages
All Classes All Packages
C
- com.squareup.phrase - package com.squareup.phrase
F
- format() - Method in class com.squareup.phrase.Phrase
-
Returns the text after replacing all keys with values.
- format(T) - Method in interface com.squareup.phrase.ListPhrase.Formatter
- from(Fragment, int) - Static method in class com.squareup.phrase.Phrase
-
Entry point into this API.
- from(Context, int) - Static method in class com.squareup.phrase.Phrase
-
Entry point into this API.
- from(Resources, int) - Static method in class com.squareup.phrase.Phrase
-
Entry point into this API.
- from(View, int) - Static method in class com.squareup.phrase.Phrase
-
Entry point into this API.
- from(CharSequence) - Static method in class com.squareup.phrase.ListPhrase
-
Entry point into this API.
- from(CharSequence) - Static method in class com.squareup.phrase.Phrase
-
Entry point into this API; pattern must be non-null.
- from(CharSequence, CharSequence, CharSequence) - Static method in class com.squareup.phrase.ListPhrase
-
Entry point into this API.
- fromPlural(Context, int, int) - Static method in class com.squareup.phrase.Phrase
-
Entry point into this API.
- fromPlural(Resources, int, int) - Static method in class com.squareup.phrase.Phrase
-
Entry point into this API.
- fromPlural(View, int, int) - Static method in class com.squareup.phrase.Phrase
-
Entry point into this API.
I
- into(TextView) - Method in class com.squareup.phrase.Phrase
-
"Formats and sets as text in textView."
J
- join(Iterable<T>) - Method in class com.squareup.phrase.ListPhrase
-
Join a list of objects using
Object.toString()to convert them toStrings. - join(Iterable<T>, ListPhrase.Formatter<T>) - Method in class com.squareup.phrase.ListPhrase
-
A list of objects, converting them to
Stringsby passing them toListPhrase.Formatter.format(Object). - join(T, T, T...) - Method in class com.squareup.phrase.ListPhrase
-
Join 3 or more objects using
Object.toString()to convert them toStrings.
L
- ListPhrase - Class in com.squareup.phrase
-
Formats a list in a size-dependent way.
- ListPhrase.Formatter<T> - Interface in com.squareup.phrase
-
Converts a list element to a
CharSequence.
P
- Phrase - Class in com.squareup.phrase
-
A fluent API for formatting Strings.
- put(String, int) - Method in class com.squareup.phrase.Phrase
-
Replaces the given key with the
Integer.toString(int)value for the given int. - put(String, CharSequence) - Method in class com.squareup.phrase.Phrase
-
Replaces the given key with a non-null value.
- putOptional(String, int) - Method in class com.squareup.phrase.Phrase
-
Replaces the given key, if it exists, with the
Integer.toString(int)value for the given int. - putOptional(String, CharSequence) - Method in class com.squareup.phrase.Phrase
-
Silently ignored if the key is not in the pattern.
T
- toString() - Method in class com.squareup.phrase.Phrase
-
Returns the raw pattern without expanding keys; only useful for debugging.
All Classes All Packages