<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>web development helpdesk &#187; OutputStream</title>
	<atom:link href="http://helpdesk.objects.com.au/tag/outputstream/feed" rel="self" type="application/rss+xml" />
	<link>http://helpdesk.objects.com.au</link>
	<description>objects quality - the visible difference</description>
	<lastBuildDate>Sun, 17 Jul 2011 12:27:36 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.4</generator>
		<item>
		<title>Redirect system out to text component</title>
		<link>http://helpdesk.objects.com.au/java/redirect-system-out-to-text-component?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=redirect-system-out-to-text-component</link>
		<comments>http://helpdesk.objects.com.au/java/redirect-system-out-to-text-component#comments</comments>
		<pubDate>Mon, 21 Feb 2011 21:46:43 +0000</pubDate>
		<dc:creator>objects</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[swing]]></category>
		<category><![CDATA[JTextArea]]></category>
		<category><![CDATA[JTextComponent]]></category>
		<category><![CDATA[JTextField]]></category>
		<category><![CDATA[OutputStream]]></category>
		<category><![CDATA[redirect]]></category>
		<category><![CDATA[stderr]]></category>
		<category><![CDATA[stdout]]></category>
		<category><![CDATA[system]]></category>

		<guid isPermaLink="false">http://helpdesk.objects.com.au/?p=1767</guid>
		<description><![CDATA[We&#8217;ve all got code riddled with System.out.println() messages. We should use a logging framework, but often we&#8217;re in a rush and we end up writing to stdout because its simpler at the time. If there are too many System.out.println() calls and we want to stop them going to the console then we can redirect stdout [...]]]></description>
		<wfw:commentRss>http://helpdesk.objects.com.au/java/redirect-system-out-to-text-component/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How to store values in a properties file</title>
		<link>http://helpdesk.objects.com.au/java/how-to-store-values-in-a-properties-file?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-to-store-values-in-a-properties-file</link>
		<comments>http://helpdesk.objects.com.au/java/how-to-store-values-in-a-properties-file#comments</comments>
		<pubDate>Sun, 02 Jan 2011 00:15:48 +0000</pubDate>
		<dc:creator>objects</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[close]]></category>
		<category><![CDATA[OutputStream]]></category>
		<category><![CDATA[properties]]></category>
		<category><![CDATA[property]]></category>

		<guid isPermaLink="false">http://helpdesk.objects.com.au/?p=1736</guid>
		<description><![CDATA[The Properties class has a store() method for saving a set of properties to a stream. There are lots of examples on the web that show how to use store() but unfortunately the majority of them fail to close the stream which is a bit misleading for new developers. Closing the stream is the responsibility [...]]]></description>
		<wfw:commentRss>http://helpdesk.objects.com.au/java/how-to-store-values-in-a-properties-file/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How to remove synchronization from stream classes?</title>
		<link>http://helpdesk.objects.com.au/java/how-to-remove-synchronization-from-stream-classes?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-to-remove-synchronization-from-stream-classes</link>
		<comments>http://helpdesk.objects.com.au/java/how-to-remove-synchronization-from-stream-classes#comments</comments>
		<pubDate>Sun, 01 Feb 2009 22:46:49 +0000</pubDate>
		<dc:creator>objects</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[InputStream]]></category>
		<category><![CDATA[OutputStream]]></category>
		<category><![CDATA[performance]]></category>
		<category><![CDATA[synchronization]]></category>

		<guid isPermaLink="false">http://helpdesk.objects.com.au/?p=738</guid>
		<description><![CDATA[The Java InputStream and OutputStream class are synchronized to be thread safe. If you are using them in a single thread application, or know that they will only be called by a single thread then this is an unnecessary overhead. To remove the synchronization you can copy the source code from the Sun classes, rename [...]]]></description>
		<wfw:commentRss>http://helpdesk.objects.com.au/java/how-to-remove-synchronization-from-stream-classes/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How do I copy one stream to another using Java?</title>
		<link>http://helpdesk.objects.com.au/java/how-do-i-copy-one-stream-to-another-using-java?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-do-i-copy-one-stream-to-another-using-java</link>
		<comments>http://helpdesk.objects.com.au/java/how-do-i-copy-one-stream-to-another-using-java#comments</comments>
		<pubDate>Sun, 19 Oct 2008 20:26:36 +0000</pubDate>
		<dc:creator>objects</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[copy]]></category>
		<category><![CDATA[InputStream]]></category>
		<category><![CDATA[OutputStream]]></category>
		<category><![CDATA[stream]]></category>

		<guid isPermaLink="false">http://helpdesk.objects.com.au/?p=676</guid>
		<description><![CDATA[You need to read all bytes from source stream to the destination. The read() method will return -1 when eof is reached, otherwise it returns the number of bytes read. public static void copy(InputStream in, OutputStream out int bufferSize) throws IOException { // Read bytes and write to destination until eof byte[] buf = new [...]]]></description>
		<wfw:commentRss>http://helpdesk.objects.com.au/java/how-do-i-copy-one-stream-to-another-using-java/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

