public class Promoter extends Object
| Constructor and Description |
|---|
Promoter() |
| Modifier and Type | Method and Description |
|---|---|
static <T extends Enum<?>> |
enumFromString(String value,
T[] values)
Convert a string to a enum type.
|
static <T> List<T> |
listOfOne(T one)
Create a list from a single element.
|
static PhoneNumber |
phoneNumberFromString(String pn)
Create a @see com.twilio.types.PhoneNumber from a string
|
static URI |
uriFromString(String url)
Create a @see java.net.URI from a string
|
public static URI uriFromString(String url)
url - url to convertpublic static PhoneNumber phoneNumberFromString(String pn)
pn - PhoneNumber to convertpublic static <T> List<T> listOfOne(T one)
T - type of the elementone - the single elementCopyright © 2016 Twilio, Inc. All Rights Reserved.