|
|
@ -53,6 +53,9 @@ public class JTemplateNameHelper { |
|
|
|
* @Date 2021/4/9 11:13 |
|
|
|
* @Date 2021/4/9 11:13 |
|
|
|
**/ |
|
|
|
**/ |
|
|
|
private static Integer getFileNameIndex(String prefix, String fileName) { |
|
|
|
private static Integer getFileNameIndex(String prefix, String fileName) { |
|
|
|
|
|
|
|
if (fileName.length() <= prefix.length()) { |
|
|
|
|
|
|
|
return null; |
|
|
|
|
|
|
|
} |
|
|
|
char[] chars = new char[fileName.length()]; |
|
|
|
char[] chars = new char[fileName.length()]; |
|
|
|
int i = 0; |
|
|
|
int i = 0; |
|
|
|
for (; i < fileName.length(); i++) { |
|
|
|
for (; i < fileName.length(); i++) { |
|
|
|