Java中有很多连接类的类实现java.io.Closeable,而关闭资源是一项重复的劳动,写一个简单的工具类避免重复劳动。

> JDK7.0中,哪些类实现java.io.Closeable?

aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAM4AAAHMCAIAAAASwgAsAAAgAElEQVR4nO2d7XMUx53Hp/IP3Bve5IXfpVw4sRNytiiy5+JScQI5uwgUchJsg5Bksk4cp7DzgB0eDBgMAiewUcrENhRPJYM4Y0WY855TxlCxy4CMCHHCVXKSoXKCMzGWiAQIEFzV3IvZ3eme7p7pmZ3p/c3M91PzYnemp3tW81X3PPy+/bNsAIxgNfoAQF6wdgJghCi92tjY2NDQ0EAuGRoaGhsbi/0/Pg+EltrIyMi5c+fGx8dv3fq/HC7j4+Pnzp0bGRlJ4mRkm9BSO3vmzMSNiYmJmxNV+o+e/03H0R+3Hniypfephb2/6Tjaf/T8RGa5OXFj4uyZM0mcjGwTWmoDAwO3bt26MTHhLLte7H+ypXfFE29tXvWus6x44q0nW3p3vdhfK5Ox5datWwMDA0mcjGwTUWrXr9+4fv3Grhf7v/fgvk2rfv/qy6d6Xj3tLK++fGrTqt9/78F9u17sd4rVtxx41Hq0N4Z6pMt/vTDNerQ3XKOQWjSiSO3mzZvWPy22bbtt9t4NS490b/sjW+AvH37Sve2PL6w40jZ770d/Gb52/XqYpbfdqvJob3XNo73hKtFfTm+cZrX3Sg9D2ejNmzchtQhEkdrExE2rucNR25qfHlrz00Pbf3XC2fr+ob85a9b89NBzP/7dts194+PXdJfftluW1f5b9+u0jX8eH+9tt9p/q19JuOXPG6cxLbqLX6MTE5BaFCRSO3LkSEdHh2qHgYGBiYkJq7njmTffddS2eEHP4gU9ztbf9Q44X3/4yP4fPrL/J20HrurS025Z7T3S9bLV8fCnDVNDNzoxMQGpRcArtXfeeecLX/jC7bffrtphYGDgxo0Jq7ljXtfBeV0HrX9a/NDM7Q/N3O5s7en60Pm64P5dD8/c0TZ7z+XLV7SW/W3W1A2nJJt62qy2/e7nGrWVV051TBV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NWAIWlLT9xZMWjrN8LGBOiEkNX1vwbLDnZOWTlt2GJ6DNEFFaqG8BU6XFmfHFjIMHESAhNTCegv8pRbFWwCpJQ+J+dVCeQuc0dNZ5GNoXd4CQnPfZQwSs0aG8hawnZm8Y6vLWwCpJUX68hZM2TintiP7mUHHW8BH9FfWM2FFyjB/QpkA0kUm8xboeAv4iH650YV6JoB0kcm8BRreAs9AKZUa+UwA6SKTeQvsYG+BptRoZwJIF9nMW2AHews0pEY+E0C6IHEH6hBv3oIgb4FKatUwftajGewhAMGQeK5WA3kLMgyJtwUgD0BqwBD/D1oaaolUTFwXAAAAAElFTkSuQmCC" alt="" />

还有这些接口继承此接口

aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAOoAAAGjCAIAAACt1h4JAAAcw0lEQVR4nO2d3c8d1XWHX/EXVJFaKRLKRSu1V/wBmbvmBgpSHBFywYff2Ik9bYWlkEAaVBUJikppooQpEqUIh9ev46+o4NpRdRKC24hWtouwZKhSUXEi1FZuaMEgLrifXsw5M3vtvdaePd97zfwe+cJnPLNnzpyf99kzZz2zd3IA1LLTV0PXrtx4/ukr3zp08aHdC9/86oXnn75y7cqNvhoHgKWf+O4/d+2h3QuPHfvZM4//c/HnsWM/e2j3wv5z13ppHwCWHuK7/9y1o/f8+AePv376hevnT/+y+HP6hes/ePz1o/f8uKcEr9KdJFv30VL9jtLVCPsBfdA1vr965+bhA2f/6k9/ce74W+byd97+v3PH3/reY784fODsr9652bDVVbqzZZMlxBcw2PG9fPnyp59+Gr79809feezYT5985NKTj1x66a/f3DRy6T+LJU8+cunPv/Xq8WfeaHBEq7QKbZ7nqzTJ1ogvYLHje+bMmXPnzt28GdpfPnz44h/f+/I3Dp4v/hQLX73wbvHywftffvD+lx8+fDH4eFbpDhsfxBcwMPH94IMPXnzxxRs3gu4bfO1LZx/4gxMH79y/9/aX7r39pWLh+VNvFy8P3rl/3+17hw+cCT0cMaWrdCfJspSOKPJ8nSXWKIOuuW2MXZiboxRjT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cWrPuYGa4OxNdAoesmOGo9WA09xne4mCG+BhpdN75vtcqAjTJKo2bSnS/N0iHsiQdqtxKnF6BKxoqdf44TmGr8OXocfi1v/inX6Lqxjppn7GtoQHZarFpyNr7+rYTJXaqVqSfnzuliaxq8P8dtH6DlzR2trltuOWrWl2r5iVv9qFWxbjVKLt2ab0Uu3YSBjP02HM2o1p8jXgiB0/JmjkLXzV6ZCRqThpHi6x5kbXxJX1rvz5nxDdDy5o1C14131Fr1vtIwoN1WIfF1Bw+k+Vp/ztxdmJY3azS6bryjRr9LXUtNkI3Ni58srPclR1A7M5ybJ/fSzXhbrD/HHiQ9EbKWN2fgunUGd7KmAxVnLVhjQrVIQHxbYXxrI7sTgvgCxSC+QDGIL1DM/wN+Eek5nymGBgAAAABJRU5ErkJggg==" alt="" />

> 简单的工具类

虽然简单,也记录一下吧,免得下次又写一次。

import java.io.Closeable;
import java.io.IOException; public class CloseableCloser { public static void close(Closeable c) {
if (c == null) {
return;
} try {
c.close();
} catch (IOException e) {
// TODO 通知开发人员有异常发生:如日志打印
System.out.println("exception when closing.");
e.printStackTrace();
}
} }

【Toolkit】关闭Closeable的简单工具类的更多相关文章

  1. java基础之JDBC三:简单工具类的提取及应用

    简单工具类: public class JDBCSimpleUtils { /** * 私有构造方法 */ private JDBCSimpleUtils() { } /** * 驱动 */ publ ...

  2. android下载简单工具类

    功能是实现下载文件,图片或MP3等,为了简单起见使用单线程,此代码为MarsAndroid教程的复制品,放在此处,留着参考. 首先是一个得到字节流随后保存到内存卡上的工具类: package com. ...

  3. 学习Java AES加解密字符串和文件方法,然后写个简单工具类

    Reference Core Java Volume Ⅱ 10th Edition 1 对称加密 "Java密码扩展"包含了一个Cipher,它是所有密码算法的超类.通过getIn ...

  4. JDBC第一篇--【介绍JDBC、使用JDBC连接数据库、简单的工具类】

    1.什么是JDBC JDBC全称为:Java Data Base Connectivity,它是可以执行SQL语句的Java API 2.为什么我们要用JDBC 市面上有非常多的数据库,本来我们是需要 ...

  5. JDBC【介绍JDBC、使用JDBC连接数据库、简单的工具类】

    1.什么是JDBC JDBC全称为:Java Data Base Connectivity,它是可以执行SQL语句的Java API 2.为什么我们要用JDBC 市面上有非常多的数据库,本来我们是需要 ...

  6. 开源JDBC工具类DbUtils

    本篇将会详细地介绍Apache公司的JDBC帮助工具类DbUtils以及如何使用.在上一篇中我们已经通过将以前对dao层使用JDBC操作数据库的冗余代码进行了简易封装形成自己的简单工具类JdbcUti ...

  7. JDBC第三篇--【事务、元数据、改造JDBC工具类】

    这是我JDBC的第一篇 http://blog.csdn.net/hon_3y/article/details/53535798 这是我JDBC的第二篇 http://blog.csdn.net/ho ...

  8. JDBC【事务、元数据、改造JDBC工具类】

    1.事务 一个SESSION所进行的所有更新操作要么一起成功,要么一起失败 举个例子:A向B转账,转账这个流程中如果出现问题,事务可以让数据恢复成原来一样[A账户的钱没变,B账户的钱也没变]. 事例说 ...

  9. 导入导出封装的工具类 (一) 利用POI封装

    对于导入导出各个项目中差点儿都会用到,记得在高校平台中封装过导入导出这部分今天看了看是利用JXL封装的而经理说让我用POI写写导出,这两个导入导出框架是眼下比較流程和经常使用的框架,有必要都了解一下. ...

随机推荐

  1. bzoj4448 [Scoi2015]情报传递

    第一问不解释,对于第二问的处理,可以使用cdq分治,假设分治的询问区间是[L,R],那么我们对于标号在[L,mid]的修改操作赋予一个权值,因为在当前[L,R]中[L,mid]的修改操作只会对[mid ...

  2. session讲解(一)——登录网页练习

    第一:登陆网页的表单页面login.php <body> <h1>登陆</h1> <form action="loginchuli.php" ...

  3. JSP-04- 实现数据的保存

    .1  Session 一段时间内,单个客户与Web服务器的一连串相关的交换过程. Ø  4.1.1  应用的场景: 用户登录后保存用户状态 确定用户的唯一   Sessin.getId(); Ø  ...

  4. hadoop文件系统FileSystem详解 转自http://hi.baidu.com/270460591/item/0efacd8accb7a1d7ef083d05

    Hadoop文件系统 基本的文件系统命令操作, 通过hadoop fs -help可以获取所有的命令的详细帮助文件. Java抽象类org.apache.hadoop.fs.FileSystem定义了 ...

  5. 【GDI+】继续图形的问题

    现在有一个需求: 一个或多个四个点组成的矩形,一个或多个值指定 下一点->当前点方向的垂直方向是不闭合的. 目前大概有三种情况: 1.只有一个矩形且只有一个指定不闭合方向的时候,此时只用按照指定 ...

  6. Origin双坐标轴图表

    1.空白处右键Add New Colume添加新列 2.全选各个列绘制图表 3.添加新的Y轴图层Graph—New Layer—Right-Y 4.右键左上角图层2 –Layer Contents 绑 ...

  7. 第三方过滤器在TVideoGrabber中的使用

    在TVideoGrabber中可以使用第三方过滤器,并可插入到预览.录制或回放流中,添加到列表里. 要在一个图像中中应用一个过滤器,需要像下面的例子中一样调用 ThirdPartyFilter_Add ...

  8. mysql相关总结

    mysql设置初始密码和更改密码(ZIP文件解压安装): http://blog.csdn.net/stypace/article/details/38232393

  9. PHP判断客户端是PC web端还是移动手机端方法

    PHP判断客户端是PC web端还是移动手机端方法需要实现:判断手机版的内容加上!c550x260.jpg后缀变成缩略图PHP用正则批量替换Img中src内容,用正则表达式获取图片路径实现缩略图功能 ...

  10. html插入视频

    http://www.jb51.net/web/168548.html http://www.w3school.com.cn/html/html_media.asp