- Cache<K,V> - Interface in cn.trinea.android.common.service
-
Cache interface
- CACHE_CONTROL - Static variable in class cn.trinea.android.common.constant.HttpConstants
-
- CacheFullRemoveType<V> - Interface in cn.trinea.android.common.service
-
Remove type when cache is full.
- CacheManager - Class in cn.trinea.android.common.util
-
CacheManager
- CacheObject<V> - Class in cn.trinea.android.common.entity
-
Object in cache
- CacheObject() - Constructor for class cn.trinea.android.common.entity.CacheObject
-
- CacheObject(V) - Constructor for class cn.trinea.android.common.entity.CacheObject
-
- CAPITAL_LETTERS - Static variable in class cn.trinea.android.common.util.RandomUtils
-
- capitalizeFirstLetter(String) - Static method in class cn.trinea.android.common.util.StringUtils
-
capitalize first letter
capitalizeFirstLetter(null) = null;
capitalizeFirstLetter("") = "";
capitalizeFirstLetter("2ab") = "2ab"
capitalizeFirstLetter("a") = "A"
capitalizeFirstLetter("ab") = "Ab"
capitalizeFirstLetter("Abc") = "Abc"
- checkIsNetworkTypeAllowed() - Method in class cn.trinea.android.common.service.impl.ImageCache
-
- checkIsNetworkTypeAllowed() - Method in class cn.trinea.android.common.service.impl.PreloadDataCache
-
Check if get data can proceed over the given network type.
- checkRootPermission() - Static method in class cn.trinea.android.common.util.ShellUtils
-
check whether has root permission
- clear() - Method in interface cn.trinea.android.common.service.Cache
-
clear cache
- clear() - Method in class cn.trinea.android.common.service.HttpCache
-
Removes all elements from this cache, leaving it empty.
- clear() - Method in class cn.trinea.android.common.service.impl.ImageCache
-
clear both primary cache and secondary cache
- clear() - Method in class cn.trinea.android.common.service.impl.ImageSDCardCache
-
delete file when clear cache
- clear() - Method in class cn.trinea.android.common.service.impl.SimpleCache
-
Removes all elements from this Map, leaving it empty.
- cn.trinea.android.common.constant - package cn.trinea.android.common.constant
-
- cn.trinea.android.common.dao - package cn.trinea.android.common.dao
-
- cn.trinea.android.common.dao.impl - package cn.trinea.android.common.dao.impl
-
- cn.trinea.android.common.entity - package cn.trinea.android.common.entity
-
- cn.trinea.android.common.service - package cn.trinea.android.common.service
-
- cn.trinea.android.common.service.impl - package cn.trinea.android.common.service.impl
-
- cn.trinea.android.common.util - package cn.trinea.android.common.util
-
- cn.trinea.android.common.view - package cn.trinea.android.common.view
-
- COLUMN_LOCAL_FILENAME - Static variable in class cn.trinea.android.common.util.DownloadManagerPro
-
represents downloaded file above api 11
- COLUMN_LOCAL_URI - Static variable in class cn.trinea.android.common.util.DownloadManagerPro
-
represents downloaded file below api 11
- COMMAND_EXIT - Static variable in class cn.trinea.android.common.util.ShellUtils
-
- COMMAND_LINE_END - Static variable in class cn.trinea.android.common.util.ShellUtils
-
- COMMAND_SH - Static variable in class cn.trinea.android.common.util.ShellUtils
-
- COMMAND_SU - Static variable in class cn.trinea.android.common.util.ShellUtils
-
- compare(CacheObject<V>, CacheObject<V>) - Method in interface cn.trinea.android.common.service.CacheFullRemoveType
-
compare object
About result
if obj1 > obj2, return 1
if obj1 = obj2, return 0
if obj1 < obj2, return -1
- compare(CacheObject<Bitmap>, CacheObject<Bitmap>) - Method in class cn.trinea.android.common.service.impl.RemoveTypeBitmapLarge
-
- compare(CacheObject<Bitmap>, CacheObject<Bitmap>) - Method in class cn.trinea.android.common.service.impl.RemoveTypeBitmapSmall
-
- compare(CacheObject<T>, CacheObject<T>) - Method in class cn.trinea.android.common.service.impl.RemoveTypeDataBig
-
- compare(CacheObject<T>, CacheObject<T>) - Method in class cn.trinea.android.common.service.impl.RemoveTypeDataSmall
-
- compare(CacheObject<T>, CacheObject<T>) - Method in class cn.trinea.android.common.service.impl.RemoveTypeEnterTimeFirst
-
- compare(CacheObject<T>, CacheObject<T>) - Method in class cn.trinea.android.common.service.impl.RemoveTypeEnterTimeLast
-
- compare(CacheObject<String>, CacheObject<String>) - Method in class cn.trinea.android.common.service.impl.RemoveTypeFileLarge
-
- compare(CacheObject<String>, CacheObject<String>) - Method in class cn.trinea.android.common.service.impl.RemoveTypeFileSmall
-
- compare(CacheObject<T>, CacheObject<T>) - Method in class cn.trinea.android.common.service.impl.RemoveTypeLastUsedTimeFirst
-
- compare(CacheObject<T>, CacheObject<T>) - Method in class cn.trinea.android.common.service.impl.RemoveTypeLastUsedTimeLast
-
- compare(CacheObject<T>, CacheObject<T>) - Method in class cn.trinea.android.common.service.impl.RemoveTypeNotRemove
-
- compare(CacheObject<T>, CacheObject<T>) - Method in class cn.trinea.android.common.service.impl.RemoveTypePriorityHigh
-
- compare(CacheObject<T>, CacheObject<T>) - Method in class cn.trinea.android.common.service.impl.RemoveTypePriorityLow
-
- compare(CacheObject<T>, CacheObject<T>) - Method in class cn.trinea.android.common.service.impl.RemoveTypeUsedCountBig
-
- compare(CacheObject<T>, CacheObject<T>) - Method in class cn.trinea.android.common.service.impl.RemoveTypeUsedCountSmall
-
- compare(V, V) - Static method in class cn.trinea.android.common.util.ObjectUtils
-
compare two object
About result
if v1 > v2, return 1
if v1 = v2, return 0
if v1 < v2, return -1
About rule
if v1 is null, v2 is null, then return 0
if v1 is null, v2 is not null, then return -1
if v1 is not null, v2 is null, then return 1
return v1.
- compareTo(CacheObject<V>) - Method in class cn.trinea.android.common.entity.CacheObject
-
compare with data
- containsKey(K) - Method in interface cn.trinea.android.common.service.Cache
-
whether key is in cache
- containsKey(String) - Method in class cn.trinea.android.common.service.HttpCache
-
whether this cache contains the specified url.
- containsKey(K) - Method in class cn.trinea.android.common.service.impl.SimpleCache
-
whether this cache contains the specified key.
- CONTENT_URI - Static variable in class cn.trinea.android.common.util.DownloadManagerPro
-
- copyFile(String, String) - Static method in class cn.trinea.android.common.util.FileUtils
-
copy file
- CREATE_HTTP_CACHE_TABLE_INDEX_SQL - Static variable in class cn.trinea.android.common.constant.DbConstants
-
- CREATE_HTTP_CACHE_TABLE_SQL - Static variable in class cn.trinea.android.common.constant.DbConstants
-
http response cache table
- CREATE_HTTP_CACHE_TABLE_UNIQUE_INDEX - Static variable in class cn.trinea.android.common.constant.DbConstants
-
- CREATE_IMAGE_SDCARD_CACHE_TABLE_INDEX_SQL - Static variable in class cn.trinea.android.common.constant.DbConstants
-
- CREATE_IMAGE_SDCARD_CACHE_TABLE_SQL - Static variable in class cn.trinea.android.common.constant.DbConstants
-
image sdcard cache table