- GB_2_BYTE - Static variable in class cn.trinea.android.common.util.SizeUtils
-
gb to byte
- geFileFromAssets(Context, String) - Static method in class cn.trinea.android.common.util.ResourceUtils
-
get an asset using ACCESS_STREAMING mode.
- geFileFromRaw(Context, int) - Static method in class cn.trinea.android.common.util.ResourceUtils
-
get content from a raw resource.
- get(K) - Method in interface cn.trinea.android.common.service.Cache
-
get object
- get(String, View) - Method in class cn.trinea.android.common.service.impl.ImageMemoryCache
-
- get(String, List<String>, View) - Method in class cn.trinea.android.common.service.impl.ImageMemoryCache
-
get image asynchronous and preload other images asynchronous according to urlList
- get(String, View) - Method in class cn.trinea.android.common.service.impl.ImageSDCardCache
-
- get(String, List<String>, View) - Method in class cn.trinea.android.common.service.impl.ImageSDCardCache
-
get image asynchronous and preload other images asynchronous according to urlList
- get(K, List<K>) - Method in class cn.trinea.android.common.service.impl.PreloadDataCache
-
get data synchronous and preload new data asynchronous according to keyList
- get(K) - Method in class cn.trinea.android.common.service.impl.PreloadDataCache
-
- get(K) - Method in class cn.trinea.android.common.service.impl.SimpleCache
-
get element
- getAbsListViewHeightBasedOnChildren(AbsListView) - Static method in class cn.trinea.android.common.util.ViewUtils
-
get AbsListView height according to every children
- getAdapter() - Method in class cn.trinea.android.common.view.HorizontalListView
-
- getAllowedNetworkTypes() - Method in class cn.trinea.android.common.service.impl.ImageCache
-
- getAllowedNetworkTypes() - Method in class cn.trinea.android.common.service.impl.PreloadDataCache
-
get the types of networks over which this data can get
- getAndIncrementUsedCount() - Method in class cn.trinea.android.common.entity.CacheObject
-
Atomically increments by one the used(got) count
- getAppVersionCode(Context) - Static method in class cn.trinea.android.common.util.PackageUtils
-
get app version code
- getBackwardCacheNumber() - Method in class cn.trinea.android.common.service.impl.PreloadDataCache
-
- getBitmapFromUrl(String, int) - Static method in class cn.trinea.android.common.util.ImageUtils
-
get Bitmap by imageUrl
- getBitmapFromUrl(String, int, Map<String, String>) - Static method in class cn.trinea.android.common.util.ImageUtils
-
get Bitmap by imageUrl
- getBoolean(JSONObject, String, Boolean) - Static method in class cn.trinea.android.common.util.JSONUtils
-
get Boolean from jsonObject
- getBoolean(Context, String) - Static method in class cn.trinea.android.common.util.PreferencesUtils
-
get boolean preferences, default is false
- getBoolean(Context, String, boolean) - Static method in class cn.trinea.android.common.util.PreferencesUtils
-
get boolean preferences
- getBytesAndStatus(long) - Method in class cn.trinea.android.common.util.DownloadManagerPro
-
get downloaded byte, total byte and download status
- getCacheControlMaxAge() - Method in class cn.trinea.android.common.entity.HttpResponse
-
http cache-control in reponse header
- getCacheFolder() - Method in class cn.trinea.android.common.service.impl.ImageCache
-
- getCacheFolder() - Method in class cn.trinea.android.common.service.impl.ImageSDCardCache
-
- getCacheFullRemoveType() - Method in class cn.trinea.android.common.service.impl.SimpleCache
-
get remove type when cache is full
- getCacheFullRemoveTypeOfSecondaryCache() - Method in class cn.trinea.android.common.service.impl.ImageCache
-
get remove type when secondary cache is full
- getCause() - Method in class cn.trinea.android.common.entity.FailedReason
-
get cause
- getCompressListener() - Method in class cn.trinea.android.common.service.impl.ImageCache
-
get compressListener
- getCompressSize(String) - Method in interface cn.trinea.android.common.service.impl.ImageCache.CompressListener
-
get image compress scale
Attentions:
if this function is set, the function #setCompressSize(String)
is not work
- getCompressSize() - Method in class cn.trinea.android.common.service.impl.ImageCache
-
get compressSize
- getConnectTimeout() - Method in class cn.trinea.android.common.entity.HttpRequest
-
- getContext() - Method in class cn.trinea.android.common.service.impl.ImageCache
-
- getContext() - Method in class cn.trinea.android.common.service.impl.PreloadDataCache
-
- getCurrentTimeInLong() - Static method in class cn.trinea.android.common.util.TimeUtils
-
get current time in milliseconds
- getCurrentTimeInString() - Static method in class cn.trinea.android.common.util.TimeUtils
-
- getCurrentTimeInString(SimpleDateFormat) - Static method in class cn.trinea.android.common.util.TimeUtils
-
get current time in milliseconds
- getData() - Method in class cn.trinea.android.common.entity.CacheObject
-
Get data
- getDatabaseName() - Method in class cn.trinea.android.common.util.AssetDatabaseOpenHelper
-
- getDefaultOnGetImageListener() - Method in class cn.trinea.android.common.service.impl.ImageMemoryCache
-
default get image listener
- getDefaultOnGetImageListener() - Method in class cn.trinea.android.common.service.impl.ImageSDCardCache
-
default get image listener
- getDefaultThreadPoolSize() - Static method in class cn.trinea.android.common.util.SystemUtils
-
get recommend default thread pool size
- getDefaultThreadPoolSize(int) - Static method in class cn.trinea.android.common.util.SystemUtils
-
get recommend default thread pool size
- getDouble(JSONObject, String, Double) - Static method in class cn.trinea.android.common.util.JSONUtils
-
get Double from jsonObject
- getDouble(JSONObject, String, double) - Static method in class cn.trinea.android.common.util.JSONUtils
-
- getDownloadBytes(long) - Method in class cn.trinea.android.common.util.DownloadManagerPro
-
get downloaded byte, total byte
- getDrawableFromUrl(String, int) - Static method in class cn.trinea.android.common.util.ImageUtils
-
get drawable by imageUrl
- getDrawableFromUrl(String, int, Map<String, String>) - Static method in class cn.trinea.android.common.util.ImageUtils
-
get drawable by imageUrl
- getEnterTime() - Method in class cn.trinea.android.common.entity.CacheObject
-
Get time first put into cache, in mills
- getErrorCode(long) - Method in class cn.trinea.android.common.util.DownloadManagerPro
-
get failed error code
- getExpiredTime() - Method in class cn.trinea.android.common.entity.HttpResponse
-
get expired time in millis
if current time is bigger than expired time, it means this response is dirty
- getExpiresHeader() - Method in class cn.trinea.android.common.entity.HttpResponse
-
http expires in reponse header
- getExpiresInMillis() - Method in class cn.trinea.android.common.entity.HttpResponse
-
get expires
- getFailedType() - Method in class cn.trinea.android.common.entity.FailedReason
-
get failedType
- getFileExtension(String) - Static method in class cn.trinea.android.common.util.FileUtils
-
get suffix of file from path
getFileExtension(null) = ""
getFileExtension("") = ""
getFileExtension(" ") = " "
getFileExtension("a.mp3") = "mp3"
getFileExtension("a.b.rmvb") = "rmvb"
getFileExtension("abc") = ""
getFileExtension("c:\\") = ""
getFileExtension("c:\\a") = ""
getFileExtension("c:\\a.b") = "b"
getFileExtension("c:a.txt\\a") = ""
getFileExtension("/home/admin") = ""
getFileExtension("/home/admin/a.txt/b") = ""
getFileExtension("/home/admin/a.txt/b.mp3") = "mp3"
- getFileName(String) - Method in interface cn.trinea.android.common.service.FileNameRule
-
get file name, include suffix, it's optional to include folder.
- getFileName(String) - Method in class cn.trinea.android.common.service.impl.FileNameRuleCurrentTime
-
- getFileName(String) - Method in class cn.trinea.android.common.service.impl.FileNameRuleImageUrl
-
- getFileName(long) - Method in class cn.trinea.android.common.util.DownloadManagerPro
-
get download file name
- getFileName(String) - Static method in class cn.trinea.android.common.util.FileUtils
-
get file name from path, include suffix
getFileName(null) = null
getFileName("") = ""
getFileName(" ") = " "
getFileName("a.mp3") = "a.mp3"
getFileName("a.b.rmvb") = "a.b.rmvb"
getFileName("abc") = "abc"
getFileName("c:\\") = ""
getFileName("c:\\a") = "a"
getFileName("c:\\a.b") = "a.b"
getFileName("c:a.txt\\a") = "a"
getFileName("/home/admin") = "admin"
getFileName("/home/admin/a.txt/b.mp3") = "b.mp3"
- getFileNameRule() - Method in class cn.trinea.android.common.service.impl.ImageCache
-
- getFileNameRule() - Method in class cn.trinea.android.common.service.impl.ImageSDCardCache
-
- getFileNameWithoutExtension(String) - Static method in class cn.trinea.android.common.util.FileUtils
-
get file name from path, not include suffix
getFileNameWithoutExtension(null) = null
getFileNameWithoutExtension("") = ""
getFileNameWithoutExtension(" ") = " "
getFileNameWithoutExtension("abc") = "abc"
getFileNameWithoutExtension("a.mp3") = "a"
getFileNameWithoutExtension("a.b.rmvb") = "a.b"
getFileNameWithoutExtension("c:\\") = ""
getFileNameWithoutExtension("c:\\a") = "a"
getFileNameWithoutExtension("c:\\a.b") = "a"
getFileNameWithoutExtension("c:a.txt\\a") = "a"
getFileNameWithoutExtension("/home/admin") = "admin"
getFileNameWithoutExtension("/home/admin/a.txt/b.mp3") = "b"
- getFileSize(String) - Static method in class cn.trinea.android.common.util.FileUtils
-
get file size
if path is null or empty, return -1
if path exist and it is a file, return file size, else return -1
- getFloat(Context, String) - Static method in class cn.trinea.android.common.util.PreferencesUtils
-
get float preferences
- getFloat(Context, String, float) - Static method in class cn.trinea.android.common.util.PreferencesUtils
-
get float preferences
- getFolderName(String) - Static method in class cn.trinea.android.common.util.FileUtils
-
get folder name from path
getFolderName(null) = null
getFolderName("") = ""
getFolderName(" ") = ""
getFolderName("a.mp3") = ""
getFolderName("a.b.rmvb") = ""
getFolderName("abc") = ""
getFolderName("c:\\") = "c:"
getFolderName("c:\\a") = "c:"
getFolderName("c:\\a.b") = "c:"
getFolderName("c:a.txt\\a") = "c:a.txt"
getFolderName("c:a\\b\\c\\d.txt") = "c:a\\b\\c"
getFolderName("/home/admin") = "/home"
getFolderName("/home/admin/a.txt/b.mp3") = "/home/admin/a.txt"
- getFooterButton() - Method in class cn.trinea.android.common.view.DropDownListView
-
get footer button
- getFooterDefaultText() - Method in class cn.trinea.android.common.view.DropDownListView
-
get footer default text, default is R.string.drop_down_list_footer_default_text
- getFooterLayout() - Method in class cn.trinea.android.common.view.DropDownListView
-
get footer layout view
- getFooterLoadingText() - Method in class cn.trinea.android.common.view.DropDownListView
-
get footer loading text, default is R.string.drop_down_list_footer_loading_text
- getFooterNoMoreText() - Method in class cn.trinea.android.common.view.DropDownListView
-
get footer no more text, default is R.string.drop_down_list_footer_no_more_text
- getForwardCacheNumber() - Method in class cn.trinea.android.common.service.impl.PreloadDataCache
-
- getGridViewVerticalSpacing(GridView) - Static method in class cn.trinea.android.common.util.ViewUtils
-
get GridView vertical spacing
- getHeaderDefaultText() - Method in class cn.trinea.android.common.view.DropDownListView
-
get header default text, default is R.string.drop_down_list_header_default_text
- getHeaderLayout() - Method in class cn.trinea.android.common.view.DropDownListView
-
get header layout view
- getHeaderLoadingText() - Method in class cn.trinea.android.common.view.DropDownListView
-
get header loading text, default is R.string.drop_down_list_header_loading_text
- getHeaderPaddingTopRate() - Method in class cn.trinea.android.common.view.DropDownListView
-
get rate about drop down distance and header padding top when drop down
- getHeaderPullText() - Method in class cn.trinea.android.common.view.DropDownListView
-
get header pull text, default is R.string.drop_down_list_header_pull_text
- getHeaderReleaseMinDistance() - Method in class cn.trinea.android.common.view.DropDownListView
-
get min distance which header can release to loading
- getHeaderReleaseText() - Method in class cn.trinea.android.common.view.DropDownListView
-
get header release text, default is R.string.drop_down_list_header_release_text
- getHitCount() - Method in class cn.trinea.android.common.service.impl.SimpleCache
-
get hit count
- getHitRate() - Method in interface cn.trinea.android.common.service.Cache
-
get hit rate
- getHitRate() - Method in class cn.trinea.android.common.service.impl.SimpleCache
-
get hit rate
- getHrefInnerHtml(String) - Static method in class cn.trinea.android.common.util.StringUtils
-
get innerHtml from href
getHrefInnerHtml(null) = ""
getHrefInnerHtml("") = ""
getHrefInnerHtml("mp3") = "mp3";
getHrefInnerHtml("<a innerHtml</a>") = "<a innerHtml</a>";
getHrefInnerHtml("<a>innerHtml</a>") = "innerHtml";
getHrefInnerHtml("<a<a>innerHtml</a>") = "innerHtml";
getHrefInnerHtml("<a href="baidu.com">innerHtml</a>") = "innerHtml";
getHrefInnerHtml("<a href="baidu.com" title="baidu">innerHtml</a>") = "innerHtml";
getHrefInnerHtml(" <a>innerHtml</a> ") = "innerHtml";
getHrefInnerHtml("<a>innerHtml</a></a>") = "innerHtml";
getHrefInnerHtml("jack<a>innerHtml</a></a>") = "innerHtml";
getHrefInnerHtml("<a>innerHtml1</a><a>innerHtml2</a>") = "innerHtml2";
- getHttpCache(Context) - Static method in class cn.trinea.android.common.util.CacheManager
-
get the singleton instance of HttpCache
- getHttpReadTimeOut() - Method in class cn.trinea.android.common.service.impl.ImageCache
-
get http read image time out of secondary cache, if less than 0, not set. default is not set
- getHttpReadTimeOut() - Method in class cn.trinea.android.common.service.impl.ImageMemoryCache
-
get http read image time out, if less than 0, not set. default is not set
- getHttpReadTimeOut() - Method in class cn.trinea.android.common.service.impl.ImageSDCardCache
-
get http read image time out, if less than 0, not set. default is not set
- getHttpResponse(String) - Method in interface cn.trinea.android.common.dao.HttpCacheDao
-
get HttpResponse by url
- getHttpResponse(String) - Method in class cn.trinea.android.common.dao.impl.HttpCacheDaoImpl
-
- getHttpResponsesByType(int) - Method in interface cn.trinea.android.common.dao.HttpCacheDao
-
get HttpResponses by type
- getHttpResponsesByType(int) - Method in class cn.trinea.android.common.dao.impl.HttpCacheDaoImpl
-
- getImageCache() - Static method in class cn.trinea.android.common.util.CacheManager
-
get the singleton instance of ImageCache
- getImageCache() - Static method in class cn.trinea.android.common.util.ImageCacheManager
-
get the singleton instance of ImageCache
- getImagePath(String) - Method in class cn.trinea.android.common.service.impl.ImageCache
-
get image file path
- getImagePath(String) - Method in class cn.trinea.android.common.service.impl.ImageSDCardCache
-
get image file path
- getImageSDCardCache() - Static method in class cn.trinea.android.common.util.CacheManager
-
get the singleton instance of ImageSDCardCache
- getImageSDCardCache() - Static method in class cn.trinea.android.common.util.ImageCacheManager
-
get the singleton instance of ImageSDCardCache
- getInAlphaAnimation(long) - Static method in class cn.trinea.android.common.util.ImageCacheManager
-
- getInputStreamFromUrl(String, int) - Static method in class cn.trinea.android.common.util.ImageUtils
-
get input stream from network by imageurl, you need to close inputStream yourself
- getInputStreamFromUrl(String, int, Map<String, String>) - Static method in class cn.trinea.android.common.util.ImageUtils
-
get input stream from network by imageurl, you need to close inputStream yourself
- getInstallLocation() - Static method in class cn.trinea.android.common.util.PackageUtils
-
get system install location
can be set by System Menu Setting->Storage->Prefered install location
- getInstance(Context) - Static method in class cn.trinea.android.common.util.SqliteUtils
-
- getInt(JSONObject, String, Integer) - Static method in class cn.trinea.android.common.util.JSONUtils
-
get Int from jsonObject
- getInt(JSONObject, String, int) - Static method in class cn.trinea.android.common.util.JSONUtils
-
- getInt(Context, String) - Static method in class cn.trinea.android.common.util.PreferencesUtils
-
get int preferences
- getInt(Context, String, int) - Static method in class cn.trinea.android.common.util.PreferencesUtils
-
get int preferences
- getJSONArray(JSONObject, String, JSONArray) - Static method in class cn.trinea.android.common.util.JSONUtils
-
get JSONArray from jsonObject
- getJSONArray(String, String, JSONArray) - Static method in class cn.trinea.android.common.util.JSONUtils
-
get JSONArray from jsonData
- getJSONObject(JSONObject, String, JSONObject) - Static method in class cn.trinea.android.common.util.JSONUtils
-
get JSONObject from jsonObject
- getJSONObject(String, String, JSONObject) - Static method in class cn.trinea.android.common.util.JSONUtils
-
get JSONObject from jsonData
- getKeyByValue(Map<K, V>, V) - Static method in class cn.trinea.android.common.util.MapUtils
-
get key by value, match the first entry front to back
Attentions:
for HashMap, the order of entry not same to put order, so you may need to use TreeMap
- getLast(V[], V, V, boolean) - Static method in class cn.trinea.android.common.util.ArrayUtils
-
get last element of the target element, before the first one that match the target element front to back
if array is empty, return defaultValue
if target element is not exist in array, return defaultValue
if target element exist in array and its index is not 0, return the last element
if target element exist in array and its index is 0, return the last one in array if isCircle is true, else
return defaultValue
- getLast(V[], V, boolean) - Static method in class cn.trinea.android.common.util.ArrayUtils
-
- getLast(long[], long, long, boolean) - Static method in class cn.trinea.android.common.util.ArrayUtils
-
- getLast(int[], int, int, boolean) - Static method in class cn.trinea.android.common.util.ArrayUtils
-
- getLast(List<V>, V) - Static method in class cn.trinea.android.common.util.ListUtils
-
- getLastUsedTime() - Method in class cn.trinea.android.common.entity.CacheObject
-
Get time last used(got), in mills
- getListViewHeightBasedOnChildren(ListView) - Static method in class cn.trinea.android.common.util.ViewUtils
-
get ListView height according to every children
- getLong(JSONObject, String, Long) - Static method in class cn.trinea.android.common.util.JSONUtils
-
get Long from jsonObject
- getLong(JSONObject, String, long) - Static method in class cn.trinea.android.common.util.JSONUtils
-
- getLong(Context, String) - Static method in class cn.trinea.android.common.util.PreferencesUtils
-
get long preferences
- getLong(Context, String, long) - Static method in class cn.trinea.android.common.util.PreferencesUtils
-
get long preferences
- getMap(JSONObject, String) - Static method in class cn.trinea.android.common.util.JSONUtils
-
get map from jsonObject.
- getMaxSize() - Method in class cn.trinea.android.common.service.impl.SimpleCache
-
get the maximum capacity of the cache
- getMessage() - Method in class cn.trinea.android.common.entity.PatchResult
-
get message
- getMissCount() - Method in class cn.trinea.android.common.service.impl.SimpleCache
-
get miss count
- getNext(V[], V, V, boolean) - Static method in class cn.trinea.android.common.util.ArrayUtils
-
get next element of the target element, after the first one that match the target element front to back
if array is empty, return defaultValue
if target element is not exist in array, return defaultValue
if target element exist in array and not the last one in array, return the next element
if target element exist in array and the last one in array, return the first one in array if isCircle is
true, else return defaultValue
- getNext(V[], V, boolean) - Static method in class cn.trinea.android.common.util.ArrayUtils
-
- getNext(long[], long, long, boolean) - Static method in class cn.trinea.android.common.util.ArrayUtils
-
- getNext(int[], int, int, boolean) - Static method in class cn.trinea.android.common.util.ArrayUtils
-
- getNext(List<V>, V) - Static method in class cn.trinea.android.common.util.ListUtils
-
- getOnGetDataListener() - Method in class cn.trinea.android.common.service.impl.PreloadDataCache
-
get get data listener
- getOnGetImageListenerOfPrimaryCache() - Method in class cn.trinea.android.common.service.impl.ImageCache
-
get get image listener of primary cache
- getOnGetImageListenerOfSecondaryCache() - Method in class cn.trinea.android.common.service.impl.ImageCache
-
get get image listener of secondary cache
- getOnImageCallbackListener() - Method in class cn.trinea.android.common.service.impl.ImageMemoryCache
-
get callback interface when getting image
- getOnImageSDCallbackListener() - Method in class cn.trinea.android.common.service.impl.ImageSDCardCache
-
get callback interface when getting image
- getParas() - Method in class cn.trinea.android.common.entity.HttpRequest
-
- getParasMap() - Method in class cn.trinea.android.common.entity.HttpRequest
-
get paras map
- getPausedReason(long) - Method in class cn.trinea.android.common.util.DownloadManagerPro
-
get paused reason
- getPriority() - Method in class cn.trinea.android.common.entity.CacheObject
-
Get priority, default is zero
- getRandom(String, int) - Static method in class cn.trinea.android.common.util.RandomUtils
-
get a fixed-length random string, its a mixture of chars in source
- getRandom(char[], int) - Static method in class cn.trinea.android.common.util.RandomUtils
-
get a fixed-length random string, its a mixture of chars in sourceChar
- getRandom(int) - Static method in class cn.trinea.android.common.util.RandomUtils
-
get random int between 0 and max
- getRandom(int, int) - Static method in class cn.trinea.android.common.util.RandomUtils
-
get random int between min and max
- getRandomCapitalLetters(int) - Static method in class cn.trinea.android.common.util.RandomUtils
-
get a fixed-length random string, its a mixture of uppercase letters
- getRandomLetters(int) - Static method in class cn.trinea.android.common.util.RandomUtils
-
get a fixed-length random string, its a mixture of uppercase and lowercase letters
- getRandomLowerCaseLetters(int) - Static method in class cn.trinea.android.common.util.RandomUtils
-
get a fixed-length random string, its a mixture of lowercase letters
- getRandomNumbers(int) - Static method in class cn.trinea.android.common.util.RandomUtils
-
get a fixed-length random string, its a mixture of numbers
- getRandomNumbersAndLetters(int) - Static method in class cn.trinea.android.common.util.RandomUtils
-
get a fixed-length random string, its a mixture of uppercase, lowercase letters and numbers
- getRDb() - Method in class cn.trinea.android.common.util.SqliteUtils
-
- getReadableDatabase() - Method in class cn.trinea.android.common.util.AssetDatabaseOpenHelper
-
Create and/or open a database that will be used for reading only.
- getReadTimeout() - Method in class cn.trinea.android.common.entity.HttpRequest
-
- getReason(long) - Method in class cn.trinea.android.common.util.DownloadManagerPro
-
get failed code or paused reason
- getRequestProperties() - Method in class cn.trinea.android.common.entity.HttpRequest
-
- getRequestProperties() - Method in class cn.trinea.android.common.service.impl.ImageCache
-
get http request properties
- getRequestProperties() - Method in class cn.trinea.android.common.service.impl.ImageMemoryCache
-
get http request properties
- getRequestProperties() - Method in class cn.trinea.android.common.service.impl.ImageSDCardCache
-
get http request properties
- getRequestProperty(String) - Method in class cn.trinea.android.common.entity.HttpRequest
-
- getResponseBody() - Method in class cn.trinea.android.common.entity.HttpResponse
-
- getResponseCode() - Method in class cn.trinea.android.common.entity.HttpResponse
-
get reponse code
- getSelectedView() - Method in class cn.trinea.android.common.view.HorizontalListView
-
- getSize() - Method in interface cn.trinea.android.common.service.Cache
-
get object in cache
- getSize() - Method in class cn.trinea.android.common.service.impl.SimpleCache
-
get the number of elements in the cache valid
- getSize(List<V>) - Static method in class cn.trinea.android.common.util.ListUtils
-
get size of list
getSize(null) = 0;
getSize({}) = 0;
getSize({1}) = 1;
- getStatus() - Method in class cn.trinea.android.common.entity.PatchResult
-
get status
- getStatusById(long) - Method in class cn.trinea.android.common.util.DownloadManagerPro
-
get download status
- getString(JSONObject, String, String) - Static method in class cn.trinea.android.common.util.JSONUtils
-
get String from jsonObject
- getString(Context, String) - Static method in class cn.trinea.android.common.util.PreferencesUtils
-
get string preferences
- getString(Context, String, String) - Static method in class cn.trinea.android.common.util.PreferencesUtils
-
get string preferences
- getStringArray(JSONObject, String, String[]) - Static method in class cn.trinea.android.common.util.JSONUtils
-
get String array from jsonObject
- getTime(long, SimpleDateFormat) - Static method in class cn.trinea.android.common.util.TimeUtils
-
long time to string
- getTime(long) - Static method in class cn.trinea.android.common.util.TimeUtils
-
- getType() - Method in class cn.trinea.android.common.entity.HttpResponse
-
get type
type to mark this response, default is 0
it will be used in HttpCache#HttpCache(android.content.Context, int)
- getUri(long) - Method in class cn.trinea.android.common.util.DownloadManagerPro
-
get download uri
- getUrl() - Method in class cn.trinea.android.common.entity.HttpRequest
-
- getUrl() - Method in class cn.trinea.android.common.entity.HttpResponse
-
- getUrlWithParas(String, Map<String, String>) - Static method in class cn.trinea.android.common.util.HttpUtils
-
join url and paras
getUrlWithParas(null, {(a, b)}) = "?
- getUrlWithValueEncodeParas(String, Map<String, String>) - Static method in class cn.trinea.android.common.util.HttpUtils
-
join url and encoded paras
- getUsedCount() - Method in class cn.trinea.android.common.entity.CacheObject
-
Get used(got) count
- getValidTime() - Method in class cn.trinea.android.common.service.impl.SimpleCache
-
get valid time of elements in cache, in mills.
- getWDb() - Method in class cn.trinea.android.common.util.SqliteUtils
-
- getWritableDatabase() - Method in class cn.trinea.android.common.util.AssetDatabaseOpenHelper
-
Create and/or open a database that will be used for reading and writing.