随笔分类 - 【JAVA基础-IO流】
摘要:package test; import java.io.*; /** * @author shusheng * @description 序列化与反序列化流 * @Email shusheng@yiji.com * @date 2018/12/23 16:49 */ public class ObjectStreamDemo { //当有些变量不需要序列化时使用 tran...
阅读全文
摘要:package test; import java.io.*; import java.util.Enumeration; import java.util.Vector; /** * @author shusheng * @description * @Email shusheng@yiji.com * @date 2018/12/23 15:55 */ public class...
阅读全文
摘要:package test; import java.io.*; /** * @author shusheng * @description 复制两个文件中的内容到一个文件中 * @Email shusheng@yiji.com * @date 2018/12/23 15:43 */ public class SequenceInputStreamDemo { /** ...
阅读全文
摘要:package test; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.IOException; /** * @author shusheng * @description 内存操作流(处理临时信息) * @Email shusheng@yiji.co...
阅读全文
摘要:package test; import java.io.*; /** * @author shusheng * @description 操作基本数据类型的流 * @Email shusheng@yiji.com * @date 2018/12/23 0:08 */ public class DataStreamDemo { public static void main...
阅读全文
摘要:package com.yjf.esupplier.common.test; import java.io.*; /** * @author shusheng * @description * @Email shusheng@yiji.com * @date 2018/12/8 14:34 */ public class CopyFolderDemo { public s...
阅读全文
摘要:package com.companyname.common.test; import java.io.*; /** * @Description * @Author Created by shusheng. * @Email shusheng@yiji.com * @Date 2018/12/2 */ public class CopyFolderDemo { publ...
阅读全文
摘要:package com.companyname.common.test; import java.io.*; import java.util.ArrayList; import java.util.Random; /** * @Description * @Author Created by shusheng. * @Email shusheng@yiji.com * @Date ...
阅读全文
摘要:package com.companyname.common.test; import java.io.BufferedReader; import java.io.FileReader; import java.io.IOException; import java.util.ArrayList; /** * @Description * @Author Created by shus...
阅读全文
摘要:package com.companyname.common.test; import java.io.BufferedWriter; import java.io.FileWriter; import java.io.IOException; import java.util.ArrayList; /** * @Description 把 ArrayList 集合中的字符串内容写到文本文...
阅读全文
摘要:package test; import java.io.*; /** * @author shusheng * @description 按行复制文件 * @Email shusheng@yiji.com * @date 2018/11/12 15:12 */ public class CopyFileDemo5 { public static void main(St...
阅读全文
摘要:package test; import java.io.*; /** * @author shusheng * @description 字符缓冲流 * @Email shusheng@yiji.com * @date 2018/11/12 15:12 */ public class CopyFileDemo4 { public static void main(Str...
阅读全文
摘要:package test; import java.io.FileReader; import java.io.FileWriter; import java.io.IOException; /** * @author shusheng * @description * @Email shusheng@yiji.com * @date 2018/11/12 15:12 */ pub...
阅读全文
摘要:package test; import java.io.FileInputStream; import java.io.IOException; import java.io.InputStreamReader; /** * @author shusheng * @description * @Email shusheng@yiji.com * @date 2018/11/12 1...
阅读全文
摘要:package test; import java.io.FileOutputStream; import java.io.IOException; import java.io.OutputStreamWriter; /** * @author shusheng * @description * @Email shusheng@yiji.com * @date 2018/11/12...
阅读全文
摘要:package test; import java.io.FileOutputStream; import java.io.IOException; import java.io.OutputStreamWriter; /** * @author shusheng * @description * @Email shusheng@yiji.com * @date 2018/11/12...
阅读全文
摘要:package test; import java.io.*; /** * @author shusheng * @description * @Email shusheng@yiji.com * @date 2018/11/12 9:21 */ public class BufferedOutputSteamDemo2 { /** * 为什么不传递一个具体的文件...
阅读全文
摘要:package test; import java.io.BufferedOutputStream; import java.io.FileOutputStream; import java.io.IOException; /** * @author shusheng * @description * @Email shusheng@yiji.com * @date 2018/11/...
阅读全文
摘要:package test; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.IOException; /** * @author shusheng * @description 使用绝对路径复制文件 * @Email shusheng@yiji.com * @date 20...
阅读全文
摘要:package test; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.IOException; /** * @author shusheng * @description 复制文本文件 * @Email shusheng@yiji.com * @date 2018/1...
阅读全文

浙公网安备 33010602011771号