Collator GetDecomposition() Example

Get the decomposition mode of this Collator.


Collatorclass GetDecomposition() method example. This example shows you how to use GetDecomposition() method.This method Get the decomposition mode of this Collator.

Here is the code:-
/* 
 * @Program that Get the decomposition mode of this Collator.
 * GetDecomposition.java 
 * Author:-RoseIndia Team
 * Date:-16-Jun-2008
 */

import java.util.*;
import java.text.*;

public class GetDecomposition {
public static void main(String[] args) {
Collator collate = Collator.getInstance(new Locale("US"));
int i=collate.getDecomposition();
System.out.println("Decomposition mode of this Collator is: "+i);
    }
}

Output of the program:-
 Decomposition mode of this Collator is: 0

Post Comment
Name:
E-mail:
Contact no :
Comments:
  Refresh Image
Verify Image:
 
 
Your Comment's
 
 
 

HOME | COPYRIGHT | CONTACT US