{"height":"190","image_url":null,"blog_url":"https://www.shigemk2.com/","published":"2015-11-05 13:57:15","provider_name":"Hatena Blog","type":"rich","author_name":"shigemk2","provider_url":"https://hatena.blog","title":"Scala \u30d1\u30b9\u3068\u304b\u30d5\u30a1\u30a4\u30eb\u3068\u304b\u306e\u5b58\u5728\u78ba\u8a8d","version":"1.0","url":"https://www.shigemk2.com/entry/scala_file_exists","categories":["Scala"],"width":"100%","description":"stackoverflow.com Java\u3063\u307d\u3044\u304b\u3082\u3002 scala> import java.nio.file.{Paths, Files} import java.nio.file.{Paths, Files} scala> Files.exists(Paths.get(\"/tmp\")) res0: Boolean = true \u3082\u3057\u304f\u306f\u3001 scala> new java.io.File(\"/tmp\").exists","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.shigemk2.com%2Fentry%2Fscala_file_exists\" title=\"Scala \u30d1\u30b9\u3068\u304b\u30d5\u30a1\u30a4\u30eb\u3068\u304b\u306e\u5b58\u5728\u78ba\u8a8d - by shigemk2\" 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/shigemk2/","blog_title":"by shigemk2"}