Android
文章平均质量分 66
123KangKang
新手
展开
-
Xstream的序列化与反序列化
Xstream插件可以将对象序列化成xml格式的文件;也可以将xml文件转换成对象 反序列化:注意Xtream不能解析KhExport类的getter和setter,所以成员不能定义成私有的,不然会抛出异常; 导入xml文件 File file = new File(entity.getPath()); if (file.exists()) { InputStream inS=n原创 2017-09-25 20:04:22 · 620 阅读 · 0 评论 -
Android中一些错误
1、报错:Error:Execution failed for task :app:transformResourcesWithMergeJavaResForCommonRelease. > java.io.IOException:Could not delete path ...A10\app\build\intermediates\transforms\mergeJavaRes\common\r原创 2017-10-23 19:39:44 · 274 阅读 · 0 评论 -
CCF(Java)系列之ISBN码(_20131202)
CCF(Java)序列之ISBN码@TOC CCF(Java)序列之ISBN码(_20131202) 100分 import java.util.Scanner; public class _20131202 { public static void main(String[] args) { Scanner in = new Scanner(System.in); ...原创 2019-07-08 17:57:00 · 217 阅读 · 0 评论