| | |
| | | return list; |
| | | } |
| | | |
| | | public static void main(String[] args) throws IOException, InvalidFormatException { |
| | | String a = "C:\\Users\\29550\\Desktop\\当前项目\\202207泰州平台\\49泰州数据库备份-服务器从windows切换到Ubuntu时的数据库备份\\db_alarm.sql"; |
| | | String substring = a.substring(a.lastIndexOf(File.separator)+1); |
| | | String s2 = (a.substring(a.lastIndexOf("当前项目"+File.separator+"202207泰州平台"))); |
| | | |
| | | System.out.println(substring); |
| | | System.out.println(s2); |
| | | } |
| | | |
| | | public Response dwgReview(String dwgUrl) throws IOException { |
| | | //绝对路径xxx/doc_file |
| | | String rootFile = CommonUtil.getRootFile(); |