ImageSDCardCache
ImageSDCardCache
use FileNameRuleCurrentTime.TimeRule
as file name
use file suffix in url as target file suffix
FileNameRuleCurrentTime.TimeRule.YEAR
year of current time, E.g., at 2012-7-6 14:37:58.365 PM result is 2012
FileNameRuleCurrentTime.TimeRule.DAY_OF_MONTH
indicating the day of the month.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
#readFile(String)
read file
#readFileToList(String)
read file to string list
FileUtils.writeFile(String, String, boolean)
write file
FileUtils.writeFile(String, InputStream)
write file
FileUtils.writeFile(String, InputStream, boolean)
write file
FileUtils.writeFile(File, InputStream)
write file
FileUtils.writeFile(File, InputStream, boolean)
write file
Operate file
FileUtils.copyFile(String, String)
FileUtils.getFileExtension(String)
FileUtils.getFileName(String)
FileUtils.getFileNameWithoutExtension(String)
FileUtils.getFileSize(String)
FileUtils.deleteFile(String)
FileUtils.isFileExist(String)
FileUtils.isFolderExist(String)
FileUtils.makeFolders(String)
FileUtils.makeDirs(String)