{"id":355,"date":"2017-12-26T22:51:44","date_gmt":"2017-12-26T13:51:44","guid":{"rendered":"http:\/\/www.hundredapps.net\/?p=355"},"modified":"2018-03-02T23:22:01","modified_gmt":"2018-03-02T14:22:01","slug":"%e7%b5%b6%e5%af%be%e3%83%91%e3%82%b9%e3%81%8b%e3%82%89%e4%b8%80%e7%95%aa%e4%b8%8b%e3%81%ae%e3%83%87%e3%82%a3%e3%83%ac%e3%82%af%e3%83%88%e3%83%aa%e5%90%8d%e3%82%92%e5%8f%96%e5%be%97","status":"publish","type":"post","link":"https:\/\/www.hundredapps.net\/?p=355","title":{"rendered":"\u7d76\u5bfe\u30d1\u30b9\u304b\u3089\u4e00\u756a\u4e0b\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u540d\u3092\u53d6\u5f97"},"content":{"rendered":"<p>path example: \/data\/aaa\/bbb\/xxx.txt<\/p>\n<pre>\nFile file = new File(filePath);\nFile parentFile = file.getParentFile();\nString directoryName = parentFile.getAbsolutePath().substring(parentFile.getAbsolutePath().lastIndexOf(\"\/\")+1, parentFile.getAbsolutePath().length());\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>path example: \/data\/aaa\/bbb\/xxx.txt File file = new Fil&#8230;<\/p>\n","protected":false},"author":1,"featured_media":359,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[15],"tags":[],"class_list":["post-355","post","type-post","status-publish","format-standard","has-post-thumbnail","category-java-little-tips","article cf"],"_links":{"self":[{"href":"https:\/\/www.hundredapps.net\/index.php?rest_route=\/wp\/v2\/posts\/355","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hundredapps.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hundredapps.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hundredapps.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hundredapps.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=355"}],"version-history":[{"count":3,"href":"https:\/\/www.hundredapps.net\/index.php?rest_route=\/wp\/v2\/posts\/355\/revisions"}],"predecessor-version":[{"id":358,"href":"https:\/\/www.hundredapps.net\/index.php?rest_route=\/wp\/v2\/posts\/355\/revisions\/358"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.hundredapps.net\/index.php?rest_route=\/wp\/v2\/media\/359"}],"wp:attachment":[{"href":"https:\/\/www.hundredapps.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=355"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hundredapps.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=355"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hundredapps.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=355"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}