摘要: /** * 以字节为单位读取文件,常用于读二进制文件,如图片、声音、影像等文件。 */ public class ReadFromFile { public static void readFileByBytes(String fileName) { File file = new File(fileName); InputStream in = nu... 阅读全文
posted @ 2017-04-20 13:14 Earic 阅读(222) 评论(0) 推荐(0)
摘要: 具体的可以在linux环境下 用tar --help查看详细说明格式:tar [option] file -c create create a new archive -x extract extract files from an archive -t list list the contents 阅读全文
posted @ 2017-04-20 13:04 Earic 阅读(386) 评论(0) 推荐(0)