{"type":"rich","width":"100%","height":"190","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fnakani1210.hatenablog.com%2Fentry%2F2018%2F05%2F01%2F173345\" title=\"try-with-resources\u6587\uff08try\uff5echatch\u306b\u304a\u3051\u308b\u30ea\u30bd\u30fc\u30b9\u89e3\u653e\u51e6\u7406\u306e\u52b9\u7387\u7684\u306a\u66f8\u304d\u65b9\uff09 - nakanilog\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","author_url":"https://blog.hatena.ne.jp/nakani1210/","categories":["\u57f7\u7b46\u4e2d","Java"],"provider_url":"https://hatena.blog","provider_name":"Hatena Blog","blog_title":"nakanilog","published":"2018-05-01 17:33:45","image_url":null,"blog_url":"https://nakani1210.hatenablog.com/","url":"https://nakani1210.hatenablog.com/entry/2018/05/01/173345","description":"Java SE 7 \u3088\u308atry\uff5echatch\u306b\u304a\u3051\u308b\u30ea\u30bd\u30fc\u30b9\u89e3\u653e\u51e6\u7406\u3092\u7c21\u7d20\u306b\u8a18\u8ff0\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u3063\u305f\u3002 \uff1ctry-with-resources\u6587\u3092\u4f7f\u308f\u306a\u3044\u5834\u5408\uff1eFileInputStream fs = null; try { fs = new FileInputStream(filePath); \uff08\u30d5\u30a1\u30a4\u30eb\u51e6\u7406\uff09} catch (IOException e) { e.printStackTrace();} finally { if (fs != null) { try { fs.close(); } catch (IOException e) { e.printStackTrace(); } }\u2026","title":"try-with-resources\u6587\uff08try\uff5echatch\u306b\u304a\u3051\u308b\u30ea\u30bd\u30fc\u30b9\u89e3\u653e\u51e6\u7406\u306e\u52b9\u7387\u7684\u306a\u66f8\u304d\u65b9\uff09","author_name":"nakani1210","version":"1.0"}