摘要: //inttobyte[]public static byte[] intToByteArray1(int i) { byte[] result = new byte[4]; result[0] = (byte)((i >> 24) & 0xFF);result[1] = (byte)((i >> 16) & 0xFF);result[2] = (byte)... 阅读全文
posted @ 2010-06-28 15:37 xngeer 阅读(639) 评论(0) 推荐(0)
摘要: 代码 阅读全文
posted @ 2010-06-28 15:26 xngeer 阅读(482) 评论(0) 推荐(0)
摘要: 代码 阅读全文
posted @ 2010-06-28 15:25 xngeer 阅读(288) 评论(0) 推荐(0)
摘要: //文件搜索,输出绝对路径public void fileSearch(String fatherFile,String fileName){if(fatherFile.contains("System Volume Information"))return;File father=new File(fatherFile);String[] fileList=father.list();for(i... 阅读全文
posted @ 2010-06-28 15:24 xngeer 阅读(262) 评论(0) 推荐(0)
摘要: //文件创建public boolean creatFile(String fatherFile,String childFile){File dirObject = new File(fatherFile); File fileObject = new File(fatherFile,childFile); try{ dirObject.mkdir(); }catch(SecurityExcep... 阅读全文
posted @ 2010-06-28 15:23 xngeer 阅读(178) 评论(0) 推荐(0)
摘要: 代码 阅读全文
posted @ 2010-06-28 15:22 xngeer 阅读(312) 评论(1) 推荐(0)
摘要: 代码 阅读全文
posted @ 2010-06-28 11:22 xngeer 阅读(286) 评论(0) 推荐(0)