随笔分类 -  IO

摘要:GZIP is appropriate for single data stream. Example: Compress one file public class Demo8 { public static void main(String[] args) throws Exception { 阅读全文
posted @ 2018-03-06 17:05 Chris,Cai 阅读(2229) 评论(0) 推荐(0) 编辑
摘要:Copying information from one file to another with 'BufferReader BufferWriter' public class Demo5 { public static void main(String[] args) { //data cac 阅读全文
posted @ 2018-03-06 09:38 Chris,Cai 阅读(283) 评论(0) 推荐(0) 编辑
摘要:FileInputStream is a stream to grab the information from files.Combined with FileOutputStream, we can achieve the function of copying. Examples: publi 阅读全文
posted @ 2018-03-06 09:30 Chris,Cai 阅读(171) 评论(0) 推荐(0) 编辑
摘要:Previously speaking,File can be seen as one ducument, also can be seen as list of documents like directory. Here,File also can be seen as one director 阅读全文
posted @ 2018-03-05 14:02 Chris,Cai 阅读(153) 评论(0) 推荐(0) 编辑
摘要:Introduction: java.io.FileNameFilter is a interface which is for filtering by filename, if filename can meet the standard we set,return list of files. 阅读全文
posted @ 2018-03-05 10:22 Chris,Cai 阅读(187) 评论(0) 推荐(0) 编辑
摘要:The Class of File, it can be seen as one document, also can be seen as list of documents. File f = new File(String url); f may be a document,also migh 阅读全文
posted @ 2018-03-02 15:11 Chris,Cai 阅读(157) 评论(0) 推荐(0) 编辑

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