| | |
| | | package com.ard.route.util; |
| | | |
| | | import com.ard.inspection.domain.ArdPointCloud; |
| | | import com.ard.route.domain.djuav.UavRouteReq; |
| | | import java.io.*; |
| | | import java.time.LocalDateTime; |
| | | import java.time.format.DateTimeFormatter; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * 工具类 |
| | |
| | | } |
| | | } |
| | | |
| | | public static List<ArdPointCloud> deserializeLs(byte[] data) throws IOException, ClassNotFoundException { |
| | | try (ByteArrayInputStream bais = new ByteArrayInputStream(data); |
| | | ObjectInputStream ois = new ObjectInputStream(bais)) { |
| | | return (List<ArdPointCloud>) ois.readObject(); |
| | | } |
| | | } |
| | | |
| | | /** |
| | | * 截取字符串 |
| | | * 参数: https://xxx.xxx.xxx.xxx:xxx/kmz/2025/11/08/文件名_20251108152249A001.kmz |