{"type":"rich","width":"100%","blog_url":"https://bg1.hatenablog.com/","version":"1.0","url":"https://bg1.hatenablog.com/entry/2015/09/26/114655","provider_url":"https://hatena.blog","blog_title":"\u8eca\u8f2a\u306ex\u767a\u660e ~B.G's Blog~","categories":["Java"],"height":"190","author_name":"BG1","title":"PrintStream","author_url":"https://blog.hatena.ne.jp/BG1/","published":"2015-09-26 11:46:55","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fbg1.hatenablog.com%2Fentry%2F2015%2F09%2F26%2F114655\" title=\"PrintStream - \u8eca\u8f2a\u306ex\u767a\u660e ~B.G&#39;s Blog~\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","provider_name":"Hatena Blog","image_url":"http://cdn-ak.f.st-hatena.com/images/fotolife/B/BG1/20150926/20150926114106.png","description":"PrintStream\u306f\u3001\u6307\u5b9a\u3055\u308c\u305f\u4ed6\u306e\u51fa\u529b\u30b9\u30c8\u30ea\u30fc\u30e0\u306b\u3055\u307e\u3056\u307e\u306a\u30c7\u30fc\u30bf\u306e\u51fa\u529b\u6a5f\u80fd\u3092\u4ed8\u52a0\u3059\u308b\u30af\u30e9\u30b9\u30fb\u30fb\u30fb\u3002PrintStream (Java Platform SE 6)System.out\u306f\u3053\u306e\u30af\u30e9\u30b9\u306e\u30d5\u30a3\u30fc\u30eb\u30c9\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306a\u306e\u3067\u3001\u3053\u306e\u30af\u30e9\u30b9\u3092\u307e\u305a\u4f7f\u3063\u3066\u307f\u3088\u3046\u30fb\u30fb\u30fb\u3002\u4eca\u56de\u306fPrintStream\u3068\u306f\u5225\u306b\u3001\u30d5\u30a1\u30a4\u30eb(\u30d0\u30a4\u30ca\u30ea)\u51fa\u529b\u3092\u3059\u308bFileOutputStream\u3068\u3001\u30d5\u30a1\u30a4\u30eb\u304c\u898b\u3064\u304b\u3089\u306a\u304b\u3063\u305f\u3068\u304d\u306e\u4f8b\u5916FileNotFoundException\u3092\u7528\u610f\u3059\u308b\u30fb\u30fb\u30fb\u3002 FileOutputStream\u306f\u3001println\u307f\u305f\u3044\u306a\u5358\u7d14\u306a\u51fa\u529b\u6a5f\u80fd\u3068\u3044\u3046\u304b\u95a2\u6570\u3092\u6301\u3063\u3066\u306a\u3044\u306e\u3067\u3001PrintStream\u3092\u4f7f\u2026"}