Package | Description |
---|---|
cn.trinea.android.common.service.impl |
Modifier and Type | Class and Description |
---|---|
class |
FileNameRuleCurrentTime
File name rule, used when saving images in
ImageSDCardCache
use FileNameRuleCurrentTime.TimeRule as file name
use file suffix in url as target file suffix
|
class |
FileNameRuleImageUrl
File name rule, used when saving images in
ImageSDCardCache
use image url as file name, replace char with _ if not letter or number
use file suffix in url as target file suffix
use FileNameRuleImageUrl.setFileExtension(String) set file extension
|
Modifier and Type | Method and Description |
---|---|
FileNameRule |
ImageSDCardCache.getFileNameRule()
get file name rule which be used when saving images, default is
FileNameRuleImageUrl |
FileNameRule |
ImageCache.getFileNameRule()
get file name rule which be used when saving images, default is
FileNameRuleImageUrl |
Modifier and Type | Method and Description |
---|---|
void |
ImageSDCardCache.setFileNameRule(FileNameRule fileNameRule)
set file name rule which be used when saving images, default is
FileNameRuleImageUrl |
void |
ImageCache.setFileNameRule(FileNameRule fileNameRule)
set file name rule which be used when saving images, default is
FileNameRuleImageUrl |