![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
java SE
豆豆平沙落雁
这个作者很懒,什么都没留下…
展开
-
IO流总结
流、缓冲区、转换流都是流体系中的流操作的基本规律:通过三个明确来完成1,明确源和目的。 源: 输入流(读取流) InputStream、 Reader 目的:输出流(写入流) OutputStream、Writer2,操作的数据是否是纯文本? 是, 字符流。 不是,字节流。3,当体系明确后,在明确要使用哪个具体的对象 通过设备来进行区分: 源设备:...原创 2013-11-02 20:18:48 · 651 阅读 · 0 评论 -
Java读取Properties文件的六种方法
使用J2SE API读取Properties文件的六种方法1。使用java.util.Properties类的load()方法示例: InputStream in = lnew BufferedInputStream(new FileInputStream(name));Properties p = new Properties();p.load(in);2。使用jav转载 2015-10-20 17:50:17 · 468 阅读 · 0 评论 -
线程池ThreadPoolExecutor使用简介
线程池ThreadPoolExecutor使用简介分类: Java一、简介 线程池类为 java.util.concurrent.ThreadPoolExecutor,常用构造方法为: ThreadPoolExecutor(int corePoolSize, int maximumPoolSize, long keepAliveTime, TimeU转载 2016-12-08 16:02:09 · 407 阅读 · 0 评论