摘要: 字节输出流 构造方法: BufferedOutPutStream(OutPutStream out) BufferedOutPutStream(OutPutStream out, int size) 参数: OutPutStream out:字节输出流,可以传递OutPutStream,缓冲流会给F 阅读全文
posted @ 2022-10-07 20:54 彼时听风 阅读(184) 评论(1) 推荐(0)
摘要: Properties集合的用法 Properties集合是一个唯一和IO流相结合的集合 可以使用Properties集合中的store方法,把集合中的临时数据,持久化到硬盘中 可以使用Properties集合中的load方法,把硬盘中保存的文件(键值对),读取到集合中使用 属性列表中的每个键及其对应 阅读全文
posted @ 2022-10-07 18:07 彼时听风 阅读(246) 评论(0) 推荐(0)
摘要: JDK7的新特性 在try的后面可以增加一个() 在括号中可以定义流对象 这个流对象的作用域就在try中有效try中的代码执行完毕,会自动把流对象释放,不用写finally try(FileInputStream fis = new FileInputStream("./a.mp3"); FileO 阅读全文
posted @ 2022-10-07 17:14 彼时听风 阅读(129) 评论(0) 推荐(0)
摘要: 字符流 java.io.Reader:字符输入流的父类,是一个抽象类 共有的方法: int read() 读取单个字符并返回 int read(char[] cbuf) 一次读取多个字符,将字符读入数组 void close() 关闭流并释放资源 java.io.FileReader extends 阅读全文
posted @ 2022-10-06 22:55 彼时听风 阅读(111) 评论(0) 推荐(0)
摘要: 字节输入流 java.io.InputStream 此抽象类是表示字节1输入流的所有的超类。 定义了所有子类共有的方法: int read() 从输入流中读取数据的下一个字节。 int read(byte[] b)从输入流中读取一定熟量的字节,并将其存储在缓冲区数组b中。 void close() 阅读全文
posted @ 2022-10-06 14:19 彼时听风 阅读(107) 评论(0) 推荐(0)
摘要: 字节流输出的使用步骤: 创建一个FileOutPutStream对象,构造方法中传递写入数据的目的地。 调用FileOutPutStream对象中的方法write,把数据写入到文件中。 释放资源 //创建一个File对象 File file = new File("./a.txt"); //创建一个 阅读全文
posted @ 2022-10-06 13:07 彼时听风 阅读(387) 评论(0) 推荐(0)
摘要: 1.将jacob.jar考到项目中进行构建路径。 2.将jacob-1.17-M2-x32.dll或者jacob-1.17-M2-x64.dll,考到系统盘:\Windows\System32\下面。 3.将jacob-1.17-M2-x32.dll或者jacob-1.17-M2-x64.dll,考 阅读全文
posted @ 2022-09-30 19:29 彼时听风 阅读(167) 评论(0) 推荐(1)
摘要: 1 v-html="$options.filters.highlight(option.title)". 阅读全文
posted @ 2021-06-13 17:28 彼时听风 阅读(313) 评论(0) 推荐(0)
摘要: <template slot-scope="scope"> <el-button size="small" icon="el-icon-tickets" :disabled="scope.row.pcState '库存" @click="handleGetPcLog(scope.$index, sc 阅读全文
posted @ 2021-06-13 15:09 彼时听风 阅读(127) 评论(0) 推荐(0)
摘要: 错误信息 Uncaught (in promise) TypeError: Cannot read property 'protocol' of undefined at isURLSameOrigin (isURLSameOrigin.js?3934:57) at dispatchXhrReque 阅读全文
posted @ 2021-06-12 21:23 彼时听风 阅读(877) 评论(0) 推荐(0)