A B C D E F G H I J K L M N O P R S T U V W 

P

PackageUtils - Class in cn.trinea.android.common.util
PackageUtils() - Constructor for class cn.trinea.android.common.util.PackageUtils
 
PARAMETERS_SEPARATOR - Static variable in class cn.trinea.android.common.util.HttpUtils
parameters separator
ParcelUtils - Class in cn.trinea.android.common.util
ParcelUtils
ParcelUtils() - Constructor for class cn.trinea.android.common.util.ParcelUtils
 
parseGmtTime(String) - Static method in class cn.trinea.android.common.util.HttpUtils
parse gmt time to long
parseKeyAndValueToMap(JSONObject) - Static method in class cn.trinea.android.common.util.JSONUtils
parse key-value pairs to map. ignore empty key, if getValue exception, put empty value
parseKeyAndValueToMap(String, String, String, boolean) - Static method in class cn.trinea.android.common.util.MapUtils
parse key-value pairs to map, ignore empty key parseKeyAndValueToMap("","","",true)=null parseKeyAndValueToMap(null,"","",true)=null parseKeyAndValueToMap("a:b,:","","",true)={(a,b)} parseKeyAndValueToMap("a:b,:d","","",true)={(a,b)} parseKeyAndValueToMap("a:b,c:d","","",true)={(a,b),(c,d)} parseKeyAndValueToMap("a=b, c = d","=",",",true)={(a,b),(c,d)} parseKeyAndValueToMap("a=b, c = d","=",",",false)={(a, b),( c , d)} parseKeyAndValueToMap("a=b, c=d","=", ",", false)={(a,b),( c,d)} parseKeyAndValueToMap("a=b; c=d","=", ";", false)={(a,b),( c,d)} parseKeyAndValueToMap("a=b, c=d", ",", ";", false)={(a=b, c=d)}
parseKeyAndValueToMap(String, boolean) - Static method in class cn.trinea.android.common.util.MapUtils
parse key-value pairs to map, ignore empty key
parseKeyAndValueToMap(String) - Static method in class cn.trinea.android.common.util.MapUtils
parse key-value pairs to map, ignore empty key, ignore space at the begging or end of key and value
patch(String, String, String) - Static method in class cn.trinea.android.common.util.PatchUtils
patch old apk and patch file to new apk
PatchResult - Class in cn.trinea.android.common.entity
PatchResult
PatchResult(int, String) - Constructor for class cn.trinea.android.common.entity.PatchResult
 
PatchUtils - Class in cn.trinea.android.common.util
PatchUtils
PatchUtils() - Constructor for class cn.trinea.android.common.util.PatchUtils
 
PATHS_SEPARATOR - Static variable in class cn.trinea.android.common.util.HttpUtils
paths separator
pauseDownload(long...) - Method in class cn.trinea.android.common.util.DownloadManagerPro
pause download
PREFERENCE_NAME - Static variable in class cn.trinea.android.common.util.PreferencesUtils
 
PreferencesUtils - Class in cn.trinea.android.common.util
PreferencesUtils() - Constructor for class cn.trinea.android.common.util.PreferencesUtils
 
PreloadDataCache<K,V> - Class in cn.trinea.android.common.service.impl
Preload data cache, It a good choice for network application which need to preload data.
PreloadDataCache() - Constructor for class cn.trinea.android.common.service.impl.PreloadDataCache
Maximum size of the cache is SimpleCache.DEFAULT_MAX_SIZE Elements of the cache will not invalid, can set by SimpleCache.setValidTime(long) Remove type is RemoveTypeEnterTimeFirst when cache is full Size of getting data thread pool is PreloadDataCache.DEFAULT_THREAD_POOL_SIZE
PreloadDataCache(int) - Constructor for class cn.trinea.android.common.service.impl.PreloadDataCache
Elements of the cache will not invalid, can set by SimpleCache.setValidTime(long) Remove type is RemoveTypeEnterTimeFirst when cache is full Size of getting data thread pool is PreloadDataCache.DEFAULT_THREAD_POOL_SIZE
PreloadDataCache(int, int) - Constructor for class cn.trinea.android.common.service.impl.PreloadDataCache
Elements of the cache will not invalid, can set by SimpleCache.setValidTime(long) Remove type is RemoveTypeEnterTimeFirst when cache is full
PreloadDataCache.OnGetDataListener<K,V> - Interface in cn.trinea.android.common.service.impl
get data interface, implements this to get data
put(K, V) - Method in interface cn.trinea.android.common.service.Cache
put object
put(K, CacheObject<V>) - Method in interface cn.trinea.android.common.service.Cache
put object
put(K, V) - Method in class cn.trinea.android.common.service.impl.SimpleCache
put element, key not allowed to be null
put(K, CacheObject<V>) - Method in class cn.trinea.android.common.service.impl.SimpleCache
put element, key and value both not allowed to be null
putAll(Cache<K, V>) - Method in interface cn.trinea.android.common.service.Cache
put all object in cache2
putAll(Cache<K, V>) - Method in class cn.trinea.android.common.service.impl.SimpleCache
pull all elements of cache2 to this
putBoolean(Context, String, boolean) - Static method in class cn.trinea.android.common.util.PreferencesUtils
put boolean preferences
putFloat(Context, String, float) - Static method in class cn.trinea.android.common.util.PreferencesUtils
put float preferences
putInt(Context, String, int) - Static method in class cn.trinea.android.common.util.PreferencesUtils
put int preferences
putIntoImageSDCardCache(ImageSDCardCache, String) - Method in interface cn.trinea.android.common.dao.ImageSDCardCacheDao
put all rows in db whose tag is same to tag to imageSDCardCache Attentions: If imageSDCardCache is null, do nothing If tag is null or empty, do nothing
putIntoImageSDCardCache(ImageSDCardCache, String) - Method in class cn.trinea.android.common.dao.impl.ImageSDCardCacheDaoImpl
 
putLong(Context, String, long) - Static method in class cn.trinea.android.common.util.PreferencesUtils
put long preferences
putMapNotEmptyKey(Map<String, String>, String, String) - Static method in class cn.trinea.android.common.util.MapUtils
add key-value pair to map, and key need not null or empty
putMapNotEmptyKeyAndValue(Map<String, String>, String, String) - Static method in class cn.trinea.android.common.util.MapUtils
add key-value pair to map, both key and value need not null or empty
putMapNotEmptyKeyAndValue(Map<String, String>, String, String, String) - Static method in class cn.trinea.android.common.util.MapUtils
add key-value pair to map, key need not null or empty
putMapNotNullKey(Map<K, V>, K, V) - Static method in class cn.trinea.android.common.util.MapUtils
add key-value pair to map, key need not null
putMapNotNullKeyAndValue(Map<K, V>, K, V) - Static method in class cn.trinea.android.common.util.MapUtils
add key-value pair to map, both key and value need not null
putString(Context, String, String) - Static method in class cn.trinea.android.common.util.PreferencesUtils
put string preferences
pxToDp(Context, float) - Static method in class cn.trinea.android.common.util.ScreenUtils
 
pxToDpCeilInt(Context, float) - Static method in class cn.trinea.android.common.util.ScreenUtils
 
A B C D E F G H I J K L M N O P R S T U V W