<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://ideawaza.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=87.162.0.0%2F16</id>
	<title>IdeaWazaWiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://ideawaza.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=87.162.0.0%2F16"/>
	<link rel="alternate" type="text/html" href="https://ideawaza.com/wiki/Special:Contributions/87.162.0.0/16"/>
	<updated>2026-09-30T08:17:48Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.46.0</generator>
	<entry>
		<id>https://ideawaza.com/index.php?title=Template:Merge&amp;diff=30818</id>
		<title>Template:Merge</title>
		<link rel="alternate" type="text/html" href="https://ideawaza.com/index.php?title=Template:Merge&amp;diff=30818"/>
		<updated>2007-08-31T06:01:19Z</updated>

		<summary type="html">&lt;p&gt;87.162.104.175: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;noinclude&amp;gt;&amp;lt;!--PNG images containing transparencies do not display properly for some users.  Please consider this fact before replacing the already tiny GIF file.--&amp;gt;&amp;lt;/noinclude&amp;gt;&amp;lt;div class=&amp;quot;messagebox merge&amp;quot;&amp;gt;[[Image:Merge-arrows.svg|left]] It has been suggested that this article or section be [[W:Merging and moving pages| merged]] with &#039;&#039;[[:{{{1}}}|{{{1}}}]]&#039;&#039;. ([[{{{2|:{{NAMESPACE}} talk:{{PAGENAMEE}}}}}|Discuss]]).&amp;lt;BR&amp;gt;Do not use this template unless you first provide a detailed set of reasons for the merge.&amp;lt;BR&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;includeonly&amp;gt;[[Category:{{#if:{{NAMESPACE}}|Items|Articles}} to be merged|{{PAGENAME}}]]&amp;lt;/includeonly&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;noinclude&amp;gt;[[Category:Page flag templates]]&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>87.162.104.175</name></author>
	</entry>
	<entry>
		<id>https://ideawaza.com/index.php?title=Archive:Java_File_IO&amp;diff=30864</id>
		<title>Archive:Java File IO</title>
		<link rel="alternate" type="text/html" href="https://ideawaza.com/index.php?title=Archive:Java_File_IO&amp;diff=30864"/>
		<updated>2006-11-30T00:09:11Z</updated>

		<summary type="html">&lt;p&gt;87.162.15.167: /* Files */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;File Input/Output is similar to the System.out and System.in that you already have begun using. The only difference is that you read from a file.&lt;br /&gt;
=Files=&lt;br /&gt;
Files are another type of variable. You can make a file like this:&lt;br /&gt;
&amp;lt;pre&amp;gt;File f = new File(&amp;quot;test.txt&amp;quot;)&amp;lt;/pre&amp;gt;&lt;br /&gt;
This does not return an exception if the file doesn&#039;t exist. To check if it does:&lt;br /&gt;
&amp;lt;pre&amp;gt;f.exists()&amp;lt;/pre&amp;gt;&lt;br /&gt;
This will return a boolean.&lt;br /&gt;
&lt;br /&gt;
To check if it is a file or directory:&lt;br /&gt;
&amp;lt;pre&amp;gt;f.isFile()&lt;br /&gt;
f.isDirectory()&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
For a full list of methods you can use, go to http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html&lt;br /&gt;
&lt;br /&gt;
=File Output=&lt;br /&gt;
To write to a file, you can use a FileWriter or a FileOutputStream.&lt;br /&gt;
==FileWriter==&lt;br /&gt;
This class writes strings or char[] to a file. To create one:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
FileWriter fw = new FileWriter(&amp;quot;test.txt&amp;quot;);//Create a filewriter writing to test.txt&lt;br /&gt;
FileWriter fw = new FileWriter(&amp;quot;test.txt&amp;quot;, true);//Do not delete contents of file - append&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
It is as simple to write. After you create a FileWriter just use:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
String s = &amp;quot;Testing&amp;quot;&lt;br /&gt;
//INITIALIZE FileWriter fw&lt;br /&gt;
fw.write(s);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
FileWriter can also write in other formats. Using char[]:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Char[] charAr=s.toCharArray();//A method in class String&lt;br /&gt;
fw.write(charAr);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Of course, you should only use this when you already have a character array.&lt;br /&gt;
&lt;br /&gt;
==FileOutputStream==&lt;br /&gt;
=File Input=&lt;/div&gt;</summary>
		<author><name>87.162.15.167</name></author>
	</entry>
</feed>