{"id":1113,"date":"2017-07-27T09:18:35","date_gmt":"2017-07-27T09:18:35","guid":{"rendered":"https:\/\/www.h2kinfosys.com\/blog\/?p=1113"},"modified":"2020-11-03T19:27:12","modified_gmt":"2020-11-03T13:57:12","slug":"create-text-file-java","status":"publish","type":"post","link":"https:\/\/www.h2kinfosys.com\/blog\/create-text-file-java\/","title":{"rendered":"How To Create Text File In Java"},"content":{"rendered":"<p><strong>Creating Text File<\/strong><br \/>\n\u2022 File Class \u2013 To define path in which the text file would be reached<br \/>\n\u2022 Create new File () method of file class is used to create a text file defined in the concerned path<br \/>\n<strong>Writing on Text File<\/strong><br \/>\n\u2022 File Writer used to write on the text file<br \/>\n\u2022 Buffered writer class is used to create a buffered memory for writing<br \/>\n\u2022 Write method of Buffer writer class to write in the text file<br \/>\n<strong>Reading on Text File<\/strong><br \/>\n\u2022 File reader used to read from the text file<br \/>\n\u2022 Buffered Reader class is used to create a buffered memory for reading<\/p>\n<p><iframe src=\"https:\/\/www.youtube.com\/embed\/nc7doCxfNKQ?rel=0&amp;controls=0&amp;showinfo=0\" width=\"560\" height=\"315\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Creating Text File \u2022 File Class \u2013 To define path in which the text file would be reached \u2022 Create new File () method of file class is used to create a text file defined in the concerned path Writing on Text File \u2022 File Writer used to write on the text file \u2022 Buffered [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":6521,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[42],"tags":[],"class_list":["post-1113","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-java-tutorials"],"_links":{"self":[{"href":"https:\/\/www.h2kinfosys.com\/blog\/wp-json\/wp\/v2\/posts\/1113","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.h2kinfosys.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.h2kinfosys.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.h2kinfosys.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.h2kinfosys.com\/blog\/wp-json\/wp\/v2\/comments?post=1113"}],"version-history":[{"count":0,"href":"https:\/\/www.h2kinfosys.com\/blog\/wp-json\/wp\/v2\/posts\/1113\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.h2kinfosys.com\/blog\/wp-json\/wp\/v2\/media\/6521"}],"wp:attachment":[{"href":"https:\/\/www.h2kinfosys.com\/blog\/wp-json\/wp\/v2\/media?parent=1113"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.h2kinfosys.com\/blog\/wp-json\/wp\/v2\/categories?post=1113"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.h2kinfosys.com\/blog\/wp-json\/wp\/v2\/tags?post=1113"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}