判断字符类型是否是路径 @param path @return
(String path)
| 715 | * @return |
| 716 | */ |
| 717 | public static boolean isFilePath(String path) { |
| 718 | if (isNotEmpty(path, true) == false) { |
| 719 | return false; |
| 720 | } |
| 721 | |
| 722 | if (! path.contains(".") || path.endsWith(".")) { |
| 723 | return false; |
| 724 | } |
| 725 | |
| 726 | current = path; |
| 727 | |
| 728 | return true; |
| 729 | } |
| 730 | |
| 731 | //判断字符类型 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> |
| 732 |
no test coverage detected