随笔分类 -  实习笔记

摘要://读取配置文件获取name InputStream inputStream = new FileInputStream("config.properties"); Properties properties = new Properties(); properties.load(inputStre 阅读全文
posted @ 2022-08-06 17:40 湘summer 阅读(234) 评论(0) 推荐(0) 编辑
摘要:1.一般步骤: 1.创建链接: DefaultHttpClient httpClient = new DefaultHttpClient(); 2.创建请求: HttpPost post = new HttpPost(URL); 3.设置参数: post.setEntity(new StringEn 阅读全文
posted @ 2022-08-04 14:59 湘summer 阅读(312) 评论(0) 推荐(0) 编辑
摘要:3.2 JSON解析 3.2.1 Json数据: { "paramz": { "feeds": [ { "id": 299076, "oid": 288340, "category": "article", "data": { "subject": "荔枝新闻3.0:不止是阅读", "summary 阅读全文
posted @ 2022-07-26 15:38 湘summer 阅读(158) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示