public class TransferMethodUtils
extends java.lang.Object
Constructor and Description |
---|
TransferMethodUtils() |
Modifier and Type | Method and Description |
---|---|
static int |
getAdjustCollapseTitleStyle(java.lang.String title) |
static int |
getAdjustExpandTitleStyle(java.lang.String title) |
static java.lang.String |
getStringFontIcon(android.content.Context context,
java.lang.String type) |
static java.lang.String |
getStringResourceByName(android.content.Context context,
java.lang.String type)
Get string resource by TransferMethodType
|
static java.lang.String |
getTransferMethodDetail(android.content.Context context,
TransferMethod transferMethod,
java.lang.String type)
Gets Transfer method identifier from the
TransferMethod field
by a TransferMethodType . |
static java.lang.String |
getTransferMethodName(android.content.Context context,
TransferMethod transferMethod)
Get title by the
TransferMethod.TransferMethodFields#TYPE |
public static java.lang.String getStringResourceByName(android.content.Context context, java.lang.String type)
context
- Contexttype
- TransferMethodTypeResources.NotFoundException
- if the given ID does not exist.public static java.lang.String getStringFontIcon(android.content.Context context, java.lang.String type)
public static java.lang.String getTransferMethodName(android.content.Context context, TransferMethod transferMethod)
TransferMethod.TransferMethodFields#TYPE
context
- Context
transferMethod
- TransferMethod
public static java.lang.String getTransferMethodDetail(android.content.Context context, TransferMethod transferMethod, java.lang.String type)
TransferMethod
field
by a TransferMethodType
.context
- ContexttransferMethod
- TransferMethodtype
- TransferMethodTypepublic static int getAdjustCollapseTitleStyle(java.lang.String title)
public static int getAdjustExpandTitleStyle(java.lang.String title)