mirror of
https://gitee.com/kekingcn/file-online-preview.git
synced 2025-06-28 13:34:24 +08:00
统一命名规范,符合驼峰规则
This commit is contained in:
parent
218f9f0015
commit
9de1ae8c11
@ -241,7 +241,7 @@ public class FileHandlerService implements InitializingBean {
|
|||||||
*/
|
*/
|
||||||
public List<String> pdf2jpg(String fileNameFilePath,String pdfFilePath, String pdfName, FileAttribute fileAttribute) throws Exception {
|
public List<String> pdf2jpg(String fileNameFilePath,String pdfFilePath, String pdfName, FileAttribute fileAttribute) throws Exception {
|
||||||
boolean forceUpdatedCache = fileAttribute.forceUpdatedCache();
|
boolean forceUpdatedCache = fileAttribute.forceUpdatedCache();
|
||||||
boolean UsePasswordCache = fileAttribute.getUsePasswordCache();
|
boolean usePasswordCache = fileAttribute.getUsePasswordCache();
|
||||||
String filePassword = fileAttribute.getFilePassword();
|
String filePassword = fileAttribute.getFilePassword();
|
||||||
String fileKey = fileAttribute.getFileKey();
|
String fileKey = fileAttribute.getFileKey();
|
||||||
String pdfPassword = null;
|
String pdfPassword = null;
|
||||||
@ -300,7 +300,7 @@ public class FileHandlerService implements InitializingBean {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (UsePasswordCache || !PDF_PASSWORD_MSG.equals(pdfPassword)) { //加密文件 判断是否启用缓存命令
|
if (usePasswordCache || !PDF_PASSWORD_MSG.equals(pdfPassword)) { //加密文件 判断是否启用缓存命令
|
||||||
this.addPdf2jpgCache(pdfFilePath, pageCount);
|
this.addPdf2jpgCache(pdfFilePath, pageCount);
|
||||||
}
|
}
|
||||||
} catch (IOException e) {
|
} catch (IOException e) {
|
||||||
|
Loading…
Reference in New Issue
Block a user