<?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; parse</title>
	<atom:link href="http://helpdesk.objects.com.au/tag/parse/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>How to parse value using locale rules</title>
		<link>http://helpdesk.objects.com.au/java/how-to-parse-value-using-locale-rules?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-to-parse-value-using-locale-rules</link>
		<comments>http://helpdesk.objects.com.au/java/how-to-parse-value-using-locale-rules#comments</comments>
		<pubDate>Sat, 19 Feb 2011 02:22:15 +0000</pubDate>
		<dc:creator>objects</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[DecimalFormat]]></category>
		<category><![CDATA[format]]></category>
		<category><![CDATA[i18n]]></category>
		<category><![CDATA[Locale]]></category>
		<category><![CDATA[NumberFormat]]></category>
		<category><![CDATA[parse]]></category>

		<guid isPermaLink="false">http://helpdesk.objects.com.au/?p=1763</guid>
		<description><![CDATA[The NumberFormat and DecimalFormat classes provide support for parsing and formatting values. They are also locale sensitive, which means they adjust the formatting and parsing rules according to the locale or region of interest. For example in France they use a comma as a decimal separator so 5,48 is the same as 5.48 in the [...]]]></description>
		<wfw:commentRss>http://helpdesk.objects.com.au/java/how-to-parse-value-using-locale-rules/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to parse a currency value using Java</title>
		<link>http://helpdesk.objects.com.au/java/how-to-parse-a-currency-value-using-java?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-to-parse-a-currency-value-using-java</link>
		<comments>http://helpdesk.objects.com.au/java/how-to-parse-a-currency-value-using-java#comments</comments>
		<pubDate>Sat, 19 Feb 2011 02:03:59 +0000</pubDate>
		<dc:creator>objects</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[Currency]]></category>
		<category><![CDATA[DecimalFormat]]></category>
		<category><![CDATA[Locale]]></category>
		<category><![CDATA[money]]></category>
		<category><![CDATA[NumberFormat]]></category>
		<category><![CDATA[parse]]></category>

		<guid isPermaLink="false">http://helpdesk.objects.com.au/?p=1761</guid>
		<description><![CDATA[The NumberFormat and DecimalFormat classes provide support for parsing and formatting currency values. For example to parse a string containing a money value in the default locale you can use the following. NumberFormat format = NumberFormat.getCurrencyInstance(); Object value = format.parse(&#34;$5.45&#34;); Related posts: How to format a currency value The NumberFormat class provides support for currency [...]]]></description>
		<wfw:commentRss>http://helpdesk.objects.com.au/java/how-to-parse-a-currency-value-using-java/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to parse a binary String?</title>
		<link>http://helpdesk.objects.com.au/java/how-to-parse-a-binary-string?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-to-parse-a-binary-string</link>
		<comments>http://helpdesk.objects.com.au/java/how-to-parse-a-binary-string#comments</comments>
		<pubDate>Thu, 10 Jun 2010 23:44:31 +0000</pubDate>
		<dc:creator>objects</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[binary]]></category>
		<category><![CDATA[conversion]]></category>
		<category><![CDATA[convert]]></category>
		<category><![CDATA[int]]></category>
		<category><![CDATA[integer]]></category>
		<category><![CDATA[parse]]></category>

		<guid isPermaLink="false">http://helpdesk.objects.com.au/?p=1496</guid>
		<description><![CDATA[You can tell the parseInt() method what base number system is used by the String that is being parsed. String hex = &#34;01001101&#34;; int n = Integer.parseInt(hex, 2); Related posts: How to parse a hex string? You can tell the parseInt() method what base number system... Converting large byte array to binary string You can [...]]]></description>
		<wfw:commentRss>http://helpdesk.objects.com.au/java/how-to-parse-a-binary-string/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using Scanner to read words from text file</title>
		<link>http://helpdesk.objects.com.au/java/using-scanner-to-read-words-from-text-file?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=using-scanner-to-read-words-from-text-file</link>
		<comments>http://helpdesk.objects.com.au/java/using-scanner-to-read-words-from-text-file#comments</comments>
		<pubDate>Tue, 24 Nov 2009 02:23:30 +0000</pubDate>
		<dc:creator>objects</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[file]]></category>
		<category><![CDATA[parse]]></category>
		<category><![CDATA[Scanner]]></category>
		<category><![CDATA[text]]></category>
		<category><![CDATA[word]]></category>

		<guid isPermaLink="false">http://helpdesk.objects.com.au/?p=1346</guid>
		<description><![CDATA[Often you need to read a file line by line. Alternatively sometimes you want to read text word by word (for example to count the occurrence of different words). The Scanner classes next() method can be used for this as shown in the following example. Scanner input = new Scanner(file); while(input.hasNext()) { String word = [...]]]></description>
		<wfw:commentRss>http://helpdesk.objects.com.au/java/using-scanner-to-read-words-from-text-file/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How to extract host name from URL</title>
		<link>http://helpdesk.objects.com.au/java/how-to-extract-host-name-from-url?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-to-extract-host-name-from-url</link>
		<comments>http://helpdesk.objects.com.au/java/how-to-extract-host-name-from-url#comments</comments>
		<pubDate>Mon, 23 Nov 2009 21:34:14 +0000</pubDate>
		<dc:creator>objects</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[host]]></category>
		<category><![CDATA[parse]]></category>
		<category><![CDATA[url]]></category>

		<guid isPermaLink="false">http://helpdesk.objects.com.au/?p=1318</guid>
		<description><![CDATA[The URL class can be used to parse a URL and retrieve the components such as host name String urlstring = &#34;http://www.objects.com.au/services/sherpa.html&#34; URL url = new URL(urlstring}; String host = url.getHost(); // returns &#34;www.objects.com.au&#34; Related posts: How do I programatically extract a certificate from a site and add it to my keystore? Often you need [...]]]></description>
		<wfw:commentRss>http://helpdesk.objects.com.au/java/how-to-extract-host-name-from-url/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Creating BigDecimal from localized strings</title>
		<link>http://helpdesk.objects.com.au/java/creating-bigdecimal-from-localized-strings?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=creating-bigdecimal-from-localized-strings</link>
		<comments>http://helpdesk.objects.com.au/java/creating-bigdecimal-from-localized-strings#comments</comments>
		<pubDate>Sat, 14 Nov 2009 23:49:01 +0000</pubDate>
		<dc:creator>objects</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[BigDecimal]]></category>
		<category><![CDATA[DecimalFormat]]></category>
		<category><![CDATA[Locale]]></category>
		<category><![CDATA[NumberFormat]]></category>
		<category><![CDATA[parse]]></category>

		<guid isPermaLink="false">http://helpdesk.objects.com.au/?p=1281</guid>
		<description><![CDATA[The BigDecimal constructors do not take the Locale into account when parsing number strings. This means the following code will throw a NumberFormatException Locale.setDefault(new Locale(&#34;nl&#34;, &#34;NL&#34;)); String s = &#34;2.343.298,09324798&#34;; BigDecimal bd = new BigDecimal(s); To parse localized strings as BigDecimal we instead need to use the DecimalFormat class Locale.setDefault(new Locale(&#34;nl&#34;, &#34;NL&#34;)); String s = [...]]]></description>
		<wfw:commentRss>http://helpdesk.objects.com.au/java/creating-bigdecimal-from-localized-strings/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to fix ChangedCharSetException when using HTMLEditorKit</title>
		<link>http://helpdesk.objects.com.au/java/how-to-fix-changedcharsetexception-when-using-htmleditorkit?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-to-fix-changedcharsetexception-when-using-htmleditorkit</link>
		<comments>http://helpdesk.objects.com.au/java/how-to-fix-changedcharsetexception-when-using-htmleditorkit#comments</comments>
		<pubDate>Fri, 01 May 2009 01:35:10 +0000</pubDate>
		<dc:creator>objects</dc:creator>
				<category><![CDATA[html]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[ChangedCharSetException]]></category>
		<category><![CDATA[HTMLEditorKit]]></category>
		<category><![CDATA[parse]]></category>

		<guid isPermaLink="false">http://helpdesk.objects.com.au/?p=1071</guid>
		<description><![CDATA[The HTML parser used by HTMLEditorKit will throw a ChangedCharSetException every time a charset tag is parsed. To spo this behaviour you need set the IgnoreCharsetDirective property on the document to true. document.putProperty("IgnoreCharsetDirective", new Boolean(true)); Related posts: How do I extract just the text form a HTML document. ie. strip out all the html tags? [...]]]></description>
		<wfw:commentRss>http://helpdesk.objects.com.au/java/how-to-fix-changedcharsetexception-when-using-htmleditorkit/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to parse a hex string?</title>
		<link>http://helpdesk.objects.com.au/java/how-to-parse-a-hex-string?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-to-parse-a-hex-string</link>
		<comments>http://helpdesk.objects.com.au/java/how-to-parse-a-hex-string#comments</comments>
		<pubDate>Sun, 23 Nov 2008 07:54:43 +0000</pubDate>
		<dc:creator>objects</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[hex]]></category>
		<category><![CDATA[int]]></category>
		<category><![CDATA[parse]]></category>

		<guid isPermaLink="false">http://helpdesk.objects.com.au/?p=950</guid>
		<description><![CDATA[You can tell the parseInt() method what base number system is used by the String that is being parsed. String hex = &#34;a9b0&#34;; int n = Integer.parseInt(hex, 16); Related posts: How to parse a binary String? You can tell the parseInt() method what base number system... How to check if a Java String is an [...]]]></description>
		<wfw:commentRss>http://helpdesk.objects.com.au/java/how-to-parse-a-hex-string/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How do I parse a Java String that specifies a Date?</title>
		<link>http://helpdesk.objects.com.au/java/how-do-i-parse-a-java-string-that-specifies-a-date?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-do-i-parse-a-java-string-that-specifies-a-date</link>
		<comments>http://helpdesk.objects.com.au/java/how-do-i-parse-a-java-string-that-specifies-a-date#comments</comments>
		<pubDate>Wed, 01 Oct 2008 12:16:45 +0000</pubDate>
		<dc:creator>objects</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[conversion]]></category>
		<category><![CDATA[convert]]></category>
		<category><![CDATA[date]]></category>
		<category><![CDATA[parse]]></category>
		<category><![CDATA[string]]></category>

		<guid isPermaLink="false">http://helpdesk.objects.com.au/?p=323</guid>
		<description><![CDATA[Use the parse() method of the SimpleDateFormat class. You can use setLenient(false) to force strict parsing. DateFormat dateFormat = new SimpleDateFormat(&#34;hh:mm dd/MM/yy&#34;); dateFormat.setLenient(false); Date d = dateFormat.parse(&#34;06:23 01/05/06&#34;); Related posts: How do a check that a string contains a valid date? Use the parse() method of the SimpleDateFormat class, it will... How do I format [...]]]></description>
		<wfw:commentRss>http://helpdesk.objects.com.au/java/how-do-i-parse-a-java-string-that-specifies-a-date/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to convert a String to an int in Java?</title>
		<link>http://helpdesk.objects.com.au/java/how-to-convert-a-string-to-an-int?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-to-convert-a-string-to-an-int</link>
		<comments>http://helpdesk.objects.com.au/java/how-to-convert-a-string-to-an-int#comments</comments>
		<pubDate>Mon, 25 Aug 2008 12:42:40 +0000</pubDate>
		<dc:creator>objects</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[conversion]]></category>
		<category><![CDATA[int]]></category>
		<category><![CDATA[parse]]></category>
		<category><![CDATA[string]]></category>

		<guid isPermaLink="false">http://125.214.65.236/wordpress/?p=8</guid>
		<description><![CDATA[The Integer class contains a number of (static) methods for converting to/from various formats. To convert to an integer use static method Integer.parseInt() String s = &#34;123&#34;; try { int i = Integer.parseInt(s); } catch (NumberFormatException ex) { // s is not an integer } Related posts: How to convert a String to a double [...]]]></description>
		<wfw:commentRss>http://helpdesk.objects.com.au/java/how-to-convert-a-string-to-an-int/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

