MCPcopy Create free account
hub / github.com/diyhi/bbs / getFullPath

Method getFullPath

src/main/java/cms/utils/FileUtil.java:320–327  ·  view source on GitHub ↗

获取文件的目录,不忽略分割符 @param fullFileName 完整路径名称

(String fullFileName)

Source from the content-addressed store, hash-verified

318 * @param fullFileName 完整路径名称
319 */
320 public static String getFullPath(String fullFileName){
321 if(fullFileName != null && !fullFileName.trim().isEmpty()){
322 return FilenameUtils.getFullPath(fullFileName);
323
324 }
325 return "";
326
327 }
328
329
330 /**

Callers 12

deleteTopicFileMethod · 0.95
handleFileUploadMethod · 0.95
addTopicMethod · 0.95
editTopicMethod · 0.95
handleFileUploadMethod · 0.95
addTopicMethod · 0.95
editTopicMethod · 0.95
handleFileUploadMethod · 0.95
handleFileUploadMethod · 0.95
handleFileUploadMethod · 0.95
editHelpMethod · 0.95
moveHelpMethod · 0.95

Calls 1

isEmptyMethod · 0.45

Tested by

no test coverage detected