Home Tutorial Java Corejava Javatext Java Text Tutorials

 
 

Share on Google+Share on Google+
Java Text Tutorials
Posted on: April 3, 2006 at 12:00 AM
Advertisement
In this tutorial we are providing many examples of date and time formatting, number formatting, parsing, iteration over characters and words and many more.

Java Text Tutorials

In this tutorial we are providing many examples of date and time formatting, number formatting, parsing, iteration over characters and words and many more.

The package java.text provides different classes and interfaces for handling text, dates, numbers and messages in a manner. It  consists of classes that are useful for handling local customs. This package contains three main groups of classes and interfaces:
Iteration over text
Formatting and Parsing
String Collation

Through the use of this package classes, you can give any custom date and time formatting, message formatting. You can compare the strings. You can iterate  words, sentences over the text.

Adding attributes to the string
In this section, you will learn how to add an attribute to the string.
 
Comparing Strings in a Locale-Independent Way
In this section, you will learn how to compare strings in a locale independent way.
 
Determining the type of Character
In this section, you will learn how to determine the type of a character.
 
Incrementing a Double by the Smallest Possible Amount
In this section, you will earn how to increment the double value by the smallest possible amount.
 
Iterating the Characters of a String
This section illustrates you how to iterate the characters of a string.
 
Formatting a Date Using a Custom Format
In this section, you will learn how to format a date using a custom format.
 
Formatting and Parsing a Date for a Locale
In this section, you will learn how to format and parse a date for a locale.
 
Formatting and Parsing a Date Using Default Formats
In this section, you will learn how to format and parse a Date using default formats.
 
Parsing a Date Using a Custom Format
In this section, you will learn how to parse a date using a custom format.
 
Formatting a Message Containing a Date
In this section, you will learn how to format the message containing a date.
 
Formatting a Message Containing a Number
In this section, you will learn how to format a message containing a number.
 
Formatting a Message Containing a Time
In this section, you will learn how to format a message that contains time.
 
Formatting a Number in Exponential Notation
In this section, you will learn how to format a number in Exponential Notation.
 
Formatting a Number Using a Custom Format
In this section, you will learn how to format a number using a custom format.
 
Formatting and Parsing a Locale-Specific Percentage
In this section, you will learn how to format and parse a locale-specific percentage.
 
Formatting and Parsing a Number for a Locale
In this section, you will learn how to format and parse a number for a Locale.
 
Formatting and Parsing a Time for a Locale
In this section, you will learn how to format and parse a time for a locale.
 
Formatting and Parsing a Time for a Locale Using Default Formats
In this section, you will learn how to format and parse a time for a Locale using default formats.
 
Formatting the Time Using a Custom Format
In this section, you will learn how to format the time using a custom format.
 
Parsing the Time Using a Custom Format
In this section, you will learn how to parse the time using custom format.
 
Determining Potential Line Breaks in a Unicode String
This section illustrates you how to use the BreakIterator to parse a string on a line break.
 
Determining the Character Boundaries in a Unicode String
In this section,  you will learn how to determine the character boundaries in a string.
 
Determining the Sentence Boundaries in a Unicode String
In this section, you will learn how to determine the sentence boundaries in a unicode string.
 
Determining the Word Boundaries in a Unicode String
In this section, you will learn how to determine the word boundaries in a unicode string.
 
Get the smallest double greater than the given value
This section demonstrates you how to get the smallest double value greater than the given value.
 
Advertisement

Related Tags for Java Text Tutorials:


Follow us on Twitter, or add us on Facebook or Google Plus to keep you updated with the recent trends of Java and other open source platforms.

Posted on: April 3, 2006

Recommend the tutorial

Advertisements Advertisements
 

 

 

DMCA.com