|
@@ -832,4 +832,10 @@ public class FileUtils {
|
|
|
return os.toByteArray();
|
|
|
}
|
|
|
|
|
|
+ public static String cleanFileTime(String fileTime) {
|
|
|
+ if (fileTime == null) return "";
|
|
|
+ String cleaned = fileTime.replace(".", "").replace("-", "");
|
|
|
+ return cleaned.length() > 8 ? cleaned.substring(0, 8) : cleaned;
|
|
|
+ }
|
|
|
+
|
|
|
}
|