public interface I18nResourceManager
void resourceLoaded(Locale locale, String levelType, String filePath, String relativePath, String key, String value)
locale - levelType - filePath - relativePath - key - value - void loadFinished()
resMap - FlipInfo findALLResource(FlipInfo userFlipInfo, Map params) throws IOException
userFlipInfo - 翻页对象.params - 查找参数条件.IOExceptionPageResult<ResourceInfo> listResourceInfo(Locale locale, String levelType, PageParameter parameter) throws BusinessException
locale - 语言, 为空表示不作为过滤条件levelType - 加载等级, 为空表示不作为过滤条件parameter - BusinessExceptionList<ResourceInfo> listResourceInfos(Locale locale, String levelType) throws BusinessException
locale - levelType - BusinessExceptionPageResult<ResourceInfo> queryResourceInfoByKey(Locale locale, String key, PageParameter parameter) throws BusinessException
locale - key - parameter - BusinessExceptionString queryResourceByKey(Locale locale, String key) throws BusinessException
locale - key - BusinessExceptionPageResult<ResourceInfo> queryResourceInfoByValue(Locale locale, String key, PageParameter parameter) throws BusinessException
locale - value - parameter - BusinessExceptionSet<ResourceInfo> queryResourceByValue(Locale locale, String value) throws BusinessException
locale - value - BusinessExceptionPageResult<ResourceInfo> queryResourceInfoByPath(Locale locale, String relativePath, PageParameter parameter) throws BusinessException
locale - relativePath - parameter - BusinessExceptionPageResult<ResourceInfo> queryResourceInfoByLevelType(Locale locale, String levelType, PageParameter parameter) throws BusinessException
locale - relativePath - parameter - BusinessExceptionvoid saveResourceInfo(ResourceInfo info) throws BusinessException
info - ExceptionBusinessExceptionvoid resetResourceInfo(ResourceInfo info) throws BusinessException
List<ResourceInfo> getResourceInfoByKey(Locale locale, String key, PageParameter parameter) throws BusinessException
locale - key - parameter - BusinessExceptionString fileToZip(String sourceFilePath, String zipFilePath, String fileName)
sourceFilePath - zipFilePath - fileName - void importProperties(String srcFilePath, String copyFilePath) throws Exception
srcFilePath读取的文件未知 - copyFilePath导入后的位置 - Exceptionvoid delFolder(String folderPath)
folderPath - void clearFile(String filePath) throws IOException
filePath - IOExceptionCopyright © 2016–2017. All rights reserved.