Java Doc for LocaleData.java in  » Internationalization-Localization » icu4j » com » ibm » icu » util » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Internationalization Localization » icu4j » com.ibm.icu.util 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.ibm.icu.util.LocaleData

LocaleData
final public class LocaleData (Code)
A class for accessing miscelleneous data in the locale bundles
author:
   ram

Inner Class :final public static class MeasurementSystem
Inner Class :final public static class PaperSize

Field Summary
final public static  intALT_QUOTATION_END
     Delimiter type for LocaleData.getDelimiter(int) .
final public static  intALT_QUOTATION_START
     Delimiter type for LocaleData.getDelimiter(int) .
final public static  intDELIMITER_COUNT
     Count of delimiter types for LocaleData.getDelimiter(int) .
final public static  intES_AUXILIARY
     EXType for LocaleData.getExemplarSet(int,int) .
final public static  intES_COUNT
     Count of EXTypes for LocaleData.getExemplarSet(int,int) .
final public static  intES_STANDARD
     EXType for LocaleData.getExemplarSet(int,int) .
final public static  intQUOTATION_END
     Delimiter type for LocaleData.getDelimiter(int) .
final public static  intQUOTATION_START
     Delimiter type for LocaleData.getDelimiter(int) .


Method Summary
public  StringgetDelimiter(int type)
     Retrieves a delimiter string from the locale data.
Parameters:
  type - The type of delimiter string desired.
public static  UnicodeSetgetExemplarSet(ULocale locale, int options)
     Returns the set of exemplar characters for a locale.
Parameters:
  locale - Locale for which the exemplar character setis to be retrieved.
Parameters:
  options - Bitmask for options to apply to the exemplar pattern.Specify zero to retrieve the exemplar set as it isdefined in the locale data.
public  UnicodeSetgetExemplarSet(int options, int extype)
     Returns the set of exemplar characters for a locale.
Parameters:
  options - Bitmask for options to apply to the exemplar pattern.Specify zero to retrieve the exemplar set as it isdefined in the locale data.
final public static  LocaleDatagetInstance(ULocale locale)
     Gets the LocaleData object associated with the ULocale specified in locale
Parameters:
  locale - Locale with thich the locale data object is associated.
final public static  LocaleDatagetInstance()
    
final public static  MeasurementSystemgetMeasurementSystem(ULocale locale)
     Returns the measurement system used in the locale specified by the locale.
Parameters:
  locale - The locale for which the measurement system to be retrieved.
public  booleangetNoSubstitute()
     Gets the "no substitute" behavior of this locale data object. Value for the no substitute behavior.
final public static  PaperSizegetPaperSize(ULocale locale)
     Returns the size of paper used in the locale.
public  voidsetNoSubstitute(boolean setting)
     Sets the "no substitute" behavior of this locale data object.
Parameters:
  setting - Value for the no substitute behavior.

Field Detail
ALT_QUOTATION_END
final public static int ALT_QUOTATION_END(Code)
Delimiter type for LocaleData.getDelimiter(int) .



ALT_QUOTATION_START
final public static int ALT_QUOTATION_START(Code)
Delimiter type for LocaleData.getDelimiter(int) .



DELIMITER_COUNT
final public static int DELIMITER_COUNT(Code)
Count of delimiter types for LocaleData.getDelimiter(int) .



ES_AUXILIARY
final public static int ES_AUXILIARY(Code)
EXType for LocaleData.getExemplarSet(int,int) .



ES_COUNT
final public static int ES_COUNT(Code)
Count of EXTypes for LocaleData.getExemplarSet(int,int) .



ES_STANDARD
final public static int ES_STANDARD(Code)
EXType for LocaleData.getExemplarSet(int,int) .



QUOTATION_END
final public static int QUOTATION_END(Code)
Delimiter type for LocaleData.getDelimiter(int) .



QUOTATION_START
final public static int QUOTATION_START(Code)
Delimiter type for LocaleData.getDelimiter(int) .





Method Detail
getDelimiter
public String getDelimiter(int type)(Code)
Retrieves a delimiter string from the locale data.
Parameters:
  type - The type of delimiter string desired. Currently,the valid choices are QUOTATION_START, QUOTATION_END,ALT_QUOTATION_START, or ALT_QUOTATION_END. The desired delimiter string.



getExemplarSet
public static UnicodeSet getExemplarSet(ULocale locale, int options)(Code)
Returns the set of exemplar characters for a locale.
Parameters:
  locale - Locale for which the exemplar character setis to be retrieved.
Parameters:
  options - Bitmask for options to apply to the exemplar pattern.Specify zero to retrieve the exemplar set as it isdefined in the locale data. SpecifyUnicodeSet.CASE to retrieve a case-folded exemplarset. See UnicodeSet.applyPattern(Stringint) for a complete list of valid options. TheIGNORE_SPACE bit is always set, regardless of thevalue of 'options'. The set of exemplar characters for the given locale.



getExemplarSet
public UnicodeSet getExemplarSet(int options, int extype)(Code)
Returns the set of exemplar characters for a locale.
Parameters:
  options - Bitmask for options to apply to the exemplar pattern.Specify zero to retrieve the exemplar set as it isdefined in the locale data. SpecifyUnicodeSet.CASE to retrieve a case-folded exemplarset. See UnicodeSet.applyPattern(Stringint) for a complete list of valid options. TheIGNORE_SPACE bit is always set, regardless of thevalue of 'options'.
Parameters:
  extype - The type of exemplar set to be retrieved,ES_STANDARD or ES_AUXILIARY The set of exemplar characters for the given locale.



getInstance
final public static LocaleData getInstance(ULocale locale)(Code)
Gets the LocaleData object associated with the ULocale specified in locale
Parameters:
  locale - Locale with thich the locale data object is associated. A locale data object.



getInstance
final public static LocaleData getInstance()(Code)
Gets the LocaleData object associated with the default locale A locale data object.



getMeasurementSystem
final public static MeasurementSystem getMeasurementSystem(ULocale locale)(Code)
Returns the measurement system used in the locale specified by the locale.
Parameters:
  locale - The locale for which the measurement system to be retrieved. MeasurementSystem the measurement system used in the locale.



getNoSubstitute
public boolean getNoSubstitute()(Code)
Gets the "no substitute" behavior of this locale data object. Value for the no substitute behavior. If TRUE,methods of this locale data object will returnan error when no data is available for that method,given the locale ID supplied to the constructor.



getPaperSize
final public static PaperSize getPaperSize(ULocale locale)(Code)
Returns the size of paper used in the locale. The paper sizes returned are always in milli-meters.
Parameters:
  locale - The locale for which the measurement system to be retrieved. The paper size used in the locale



setNoSubstitute
public void setNoSubstitute(boolean setting)(Code)
Sets the "no substitute" behavior of this locale data object.
Parameters:
  setting - Value for the no substitute behavior. If TRUE,methods of this locale data object will returnan error when no data is available for that method,given the locale ID supplied to the constructor.



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.