Skip to content
This repository has been archived by the owner on Oct 15, 2022. It is now read-only.

Commit

Permalink
java-file-handling trail. white. fix
Browse files Browse the repository at this point in the history
  • Loading branch information
122131 committed Jun 18, 2016
1 parent 1e0f33a commit 97385f1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions share/goodie/cheat_sheets/json/java-file-handling.json
Expand Up @@ -28,7 +28,7 @@
},
{
"key": "FileOutputStream out = \nnew FileOutputStream(\"outagain.txt\",true);",
"val": "This form of the constructor appends data you write instead of overwriting old data. "
"val": "This form of the constructor appends data you write instead of overwriting old data."
},
{
"key": "Methods: read() ; write(int b) or \nwrite(byte\\[\\] b)",
Expand All @@ -42,7 +42,7 @@
},
{
"key": "FileWriter outputStream = \nnew FileWriter(\"characteroutput.txt\");",
"val": "Writes to file in terms of 16 bits. "
"val": "Writes to file in terms of 16 bits."
},
{
"key": "FileWriter outputStream = new FileWriter\n(\"characteroutput.txt\",true);",
Expand Down Expand Up @@ -87,7 +87,7 @@
"val": "Character I/O usually occurs in bigger units than single characters. The BufferedReader and PrintWriter classes can be used for line oriented reading and writing of a file."
},
{
"key" : "Methods- readLine() ; println(String line) ",
"key" : "Methods- readLine() ; println(String line)",
"val" : "Used to read and write a line at a time. EOF is detected when value read is null."
}
]
Expand Down

0 comments on commit 97385f1

Please sign in to comment.