|
@@ -1,5 +1,6 @@
|
|
|
package com.miniframe.tools;
|
|
|
|
|
|
+
|
|
|
import com.google.common.io.Resources;
|
|
|
import com.miniframe.constant.MFConstant;
|
|
|
import com.miniframe.core.IniFileReader;
|
|
@@ -37,7 +38,9 @@ public class XIFileUtils {
|
|
|
static {
|
|
|
|
|
|
// IniFileReader reader = new IniFileReader(IniFileReader.defaultConfig);
|
|
|
-// String pathStr = reader.getStrValue("fileuploadpath");
|
|
|
+// String pathStr = reader.getStrValue("fileuploadpath"
|
|
|
+//
|
|
|
+// );
|
|
|
// if(UtilTools.isNullOrBlank(pathStr)){
|
|
|
// pathStr = XIConfig.fileRootPath;
|
|
|
// }
|
|
@@ -105,6 +108,7 @@ public class XIFileUtils {
|
|
|
|
|
|
public static String getRelativizePathStr(String pathStr) {
|
|
|
|
|
|
+
|
|
|
return getRelativizePathStr(Paths.get(pathStr));
|
|
|
|
|
|
}
|