| | |
| | | @Service |
| | | public class RESDataInfoService { |
| | | //解析res内阻数据 |
| | | public static RESDataInfo readFileData(String filePath) |
| | | public RESDataInfo readFileData(String filePath) |
| | | { |
| | | RESDataInfo resDataInfo=new RESDataInfo(); |
| | | int parse_result = StaticInf.PARSE_RESULT_NULL; |
| | |
| | | return resDataInfo; |
| | | } |
| | | |
| | | public static void main(String[] args) { |
| | | //String fileUrl="E:\\fileTest\\fbxtest\\resdata.bres"; |
| | | //String fileUrl="D:\\test\\resdata.bres"; |
| | | //String fileUrl="D:\\test\\resdata(1).bres"; |
| | | String fileUrl="D:\\test\\resdata(2).bres"; |
| | | RESDataInfo info = readFileData(fileUrl); |
| | | System.out.println(info); |
| | | } |
| | | } |