<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" 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/" > <channel><title>Comments on: Loading Java Properties Files</title> <atom:link href="http://viralpatel.net/blogs/2009/10/loading-java-properties-files.html/feed" rel="self" type="application/rss+xml" /><link>http://viralpatel.net/blogs/2009/10/loading-java-properties-files.html</link> <description>Tutorials, Java, J2EE, Struts, AJAX, JavaScript, CSS, Web 2.0, MySQL, Articles</description> <lastBuildDate>Wed, 08 Feb 2012 10:36:26 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>By: Misty</title><link>http://viralpatel.net/blogs/2009/10/loading-java-properties-files.html/comment-page-1#comment-16768</link> <dc:creator>Misty</dc:creator> <pubDate>Tue, 25 Oct 2011 11:46:32 +0000</pubDate> <guid isPermaLink="false">http://viralpatel.net/blogs/?p=1877#comment-16768</guid> <description>Could you tell me how to include the properties file path in my manifest? my properties file is in the resources folder. I need to include this in the class path of the JAR file, so that if any user wants they can modify the properties file externally and it will reflect in the JAR file</description> <content:encoded><![CDATA[<p>Could you tell me how to include the properties file path in my manifest? my properties file is in the resources folder. I need to include this in the class path of the JAR file, so that if any user wants they can modify the properties file externally and it will reflect in the JAR file</p> ]]></content:encoded> </item> <item><title>By: Sachin singh</title><link>http://viralpatel.net/blogs/2009/10/loading-java-properties-files.html/comment-page-1#comment-14244</link> <dc:creator>Sachin singh</dc:creator> <pubDate>Thu, 03 Mar 2011 13:43:03 +0000</pubDate> <guid isPermaLink="false">http://viralpatel.net/blogs/?p=1877#comment-14244</guid> <description>Thanks Dude Very good Post. I was struggling like anything. My problem was to load dataset file from resource folder (in DBUnit) return new FlatXmlDataSetBuilder().build(this.getClass().getResourceAsStream(&quot;/dataset.xml&quot;));thanks again;</description> <content:encoded><![CDATA[<p>Thanks Dude<br /> Very good Post.<br /> I was struggling like anything.<br /> My problem was to load dataset file from resource folder (in DBUnit)<br /> return new FlatXmlDataSetBuilder().build(this.getClass().getResourceAsStream(&#8220;/dataset.xml&#8221;));</p><p>thanks again;</p> ]]></content:encoded> </item> <item><title>By: Fishinastorm</title><link>http://viralpatel.net/blogs/2009/10/loading-java-properties-files.html/comment-page-1#comment-12916</link> <dc:creator>Fishinastorm</dc:creator> <pubDate>Wed, 28 Jul 2010 07:22:52 +0000</pubDate> <guid isPermaLink="false">http://viralpatel.net/blogs/?p=1877#comment-12916</guid> <description>Hi Viral, NIce post. HOw do store some modified properties to the file in the same package as you mentioned. I used FileOutputstream, but it creates a new properties file elsewhere..i want the same properties file to contain the modified values...i am goign berserk with this...</description> <content:encoded><![CDATA[<p>Hi Viral,<br /> NIce post. HOw do store some modified properties to the file in the same package as you mentioned. I used FileOutputstream, but it creates a new properties file elsewhere..i want the same properties file to contain the modified values&#8230;i am goign berserk with this&#8230;</p> ]]></content:encoded> </item> <item><title>By: test</title><link>http://viralpatel.net/blogs/2009/10/loading-java-properties-files.html/comment-page-1#comment-11780</link> <dc:creator>test</dc:creator> <pubDate>Mon, 14 Dec 2009 17:26:05 +0000</pubDate> <guid isPermaLink="false">http://viralpatel.net/blogs/?p=1877#comment-11780</guid> <description>Thanks man, awesome post. helped me in reading the properties file outside the jar file.Thanks again</description> <content:encoded><![CDATA[<p>Thanks man,<br /> awesome post.<br /> helped me in reading the properties file outside the jar file.</p><p>Thanks again</p> ]]></content:encoded> </item> <item><title>By: muski</title><link>http://viralpatel.net/blogs/2009/10/loading-java-properties-files.html/comment-page-1#comment-11637</link> <dc:creator>muski</dc:creator> <pubDate>Fri, 13 Nov 2009 06:27:48 +0000</pubDate> <guid isPermaLink="false">http://viralpatel.net/blogs/?p=1877#comment-11637</guid> <description>Simple method to load properties file.Properties props = new Properties(); props.load(new FileInputStream(&quot;config.properties&quot;)); String value = props.getProperty(&quot;prop1&quot;); System.out.println(value); System.out.println(props.entrySet());</description> <content:encoded><![CDATA[<p>Simple method to load properties file.</p><p> Properties props = new Properties();<br /> props.load(new FileInputStream(&#8220;config.properties&#8221;));<br /> String value = props.getProperty(&#8220;prop1&#8243;);<br /> System.out.println(value);<br /> System.out.println(props.entrySet());</p> ]]></content:encoded> </item> <item><title>By: r4ds</title><link>http://viralpatel.net/blogs/2009/10/loading-java-properties-files.html/comment-page-1#comment-11602</link> <dc:creator>r4ds</dc:creator> <pubDate>Mon, 09 Nov 2009 04:45:30 +0000</pubDate> <guid isPermaLink="false">http://viralpatel.net/blogs/?p=1877#comment-11602</guid> <description>Hi.. To load the property file in Java I think, it is very easy to do it. It will come in the form of directory when you are downloading this files.. In Java 6 updated version, every properties class have been existed, take help form there to fulfil the requirements....</description> <content:encoded><![CDATA[<p>Hi..<br /> To load the property file in Java I think, it is very easy to do it. It will come in the form of directory when you are downloading this files..<br /> In Java 6 updated version, every properties class have been existed, take help form there to fulfil the requirements&#8230;.</p> ]]></content:encoded> </item> <item><title>By: ppow</title><link>http://viralpatel.net/blogs/2009/10/loading-java-properties-files.html/comment-page-1#comment-11583</link> <dc:creator>ppow</dc:creator> <pubDate>Wed, 04 Nov 2009 12:36:22 +0000</pubDate> <guid isPermaLink="false">http://viralpatel.net/blogs/?p=1877#comment-11583</guid> <description>Asking the class itself for resources seems weird to me. Is there any way to get that by asking the System or by other API not connected to the class you are using it in?</description> <content:encoded><![CDATA[<p>Asking the class itself for resources seems weird to me. Is there any way to get that by asking the System or by other API not connected to the class you are using it in?</p> ]]></content:encoded> </item> <item><title>By: JavaMan</title><link>http://viralpatel.net/blogs/2009/10/loading-java-properties-files.html/comment-page-1#comment-11552</link> <dc:creator>JavaMan</dc:creator> <pubDate>Mon, 26 Oct 2009 19:02:03 +0000</pubDate> <guid isPermaLink="false">http://viralpatel.net/blogs/?p=1877#comment-11552</guid> <description>Interesante aqui te dejo mis dos Blogs. Aqui encontraras cosas tambien muy interesantes:http://viviendoconjavaynomoririntentandolo.blogspot.comhttp://frameworksjava2008.blogspot.comSaludos.</description> <content:encoded><![CDATA[<p>Interesante aqui te dejo mis dos Blogs. Aqui encontraras cosas tambien muy interesantes:</p><p> <a href="http://viviendoconjavaynomoririntentandolo.blogspot.com" rel="nofollow">http://viviendoconjavaynomoririntentandolo.blogspot.com</a></p><p> <a href="http://frameworksjava2008.blogspot.com" rel="nofollow">http://frameworksjava2008.blogspot.com</a></p><p> Saludos.</p> ]]></content:encoded> </item> <item><title>By: rakesh juyal</title><link>http://viralpatel.net/blogs/2009/10/loading-java-properties-files.html/comment-page-1#comment-11551</link> <dc:creator>rakesh juyal</dc:creator> <pubDate>Mon, 26 Oct 2009 18:25:01 +0000</pubDate> <guid isPermaLink="false">http://viralpatel.net/blogs/?p=1877#comment-11551</guid> <description>Such a long article for so simple thing.</description> <content:encoded><![CDATA[<p>Such a long article for so simple thing.</p> ]]></content:encoded> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced

Served from: viralpatel.net @ 2012-02-09 09:07:34 -->
