Java Doc for ConvertPOSIXLocale.java in  » Internationalization-Localization » icu4j » com » ibm » icu » dev » tool » localeconverter » 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.dev.tool.localeconverter 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.ibm.icu.dev.tool.localeconverter.ConvertPOSIXLocale

ConvertPOSIXLocale
public class ConvertPOSIXLocale (Code)
The ConvertPOSIXLocale application converts POSIX locale files to Java and ICU Locale files. It's usage is as follows ConvertPOSIXLocale [-LC_CTYPE] [-LC_TIME] [-LC_NUMERIC] [-LC_MONETARY] [-LC_MESSAGES] [-11] [-12] [-icu] [-icu2] localeName localeDataFile [charMapFile ...] The application is invoked with options specifying the format(s) of the locale file(s) to generate as well as the POSIX locale file and character mapping files. Usage -LC_CTYPE If the -LC_CTYPE option is specified, the following items are added to the locale if they are present in the source: upper, lower, alpha, digit, space, cntrl, punct, graph, print, xdigit, blank, toupper, tolower. -LC_TIME If the -LC_TIME option is specified, the following items will be included if they are present in the POSIX source: abday, day, abmon, mon, d_t_fmt, d_ftm, t_fmt, am_pm, t_fmt_ampm, era, era_year, era_d_fmt, alt_digits. -LC_NUMERIC If the -LC_NUMERIC option is specified, the following items will be included if they are present in the source: decimal_point, thousands_sep, grouping -LC_MONETARY If the -LC_MONETARY option is specified, the following items will be included if they are present in the source: int_curr_symbol, currency_symbol, mon_decimal_point, mon_thousands_sep, mon_grouping, positive_sign, negative_sign, int_frac_digits, frac_digits, p_cs_precedes, p_sep_by_space, n_cs_precedes, n_sep_by_space, p_sign_posn. -LC_MESSAGES If the -LC_MESSAGES option is specified, the following items are added to the locale if they are present in the source: yesexpr, noexpr -11 If this option is specified, data is output in Java 1.1.x locale format. -12 If this option is specified, data is output in Java 1.2.x locale format. If an output format is not specified, -12 is the default. -icu If this option is specified, data is output in ICU locale format. localeName The name of the locale in the localeDataFile. Ex. en_US. localeDataFile The localeDataFile path is required and specifies the path to the locale data file. If a "copy" directive is encountered while processing the localeDataFile, ConvertPOSIXLocale will look in the same directory as the localeDataFile for additional POSIX locale data files. Files must be in the POSIX format specified in ISO/IEC 9945- with exceptions noted below. Exactly one localeDataFile must be specified. charMapFile Zero or more character mapping files may be specified. charMapFiles are used to map symbols in the localeDataFile to Unicode values. They are processed as follows. ConvertPOSIXLocale searchs for a line containing only the word "CHARMAP" and reads symbol mappings until it reaches a line containing only the words "END CHARMAP". Symbol mappings have the form " " where "" is any symbol valid in a localeDataFile and "hhhh" is four hexidecimal digits representing the Unicode value for that symbol. Surrogate pairs are not supported in charMapFiles. An example charMapFile might contain the following: CHARMAP END CHARMAP specifying that the symbol should be replaced by the Unicode value of 0x0002 wherever it occurs. When multiple charMapFiles are specified, mappings in files listed later take precedence over earlier ones. Conversion to ICU and Java: collations Converted from the LC_COLLATE section. The "..." directive is ignored. The "replace-after" directive is ignored. CurrencyElements element 0 is set to currency_symbol element 1 is set to int_curr_symbol element 2 is set to mon_decimal_point All other elements default. NumberElements element 0 is set to decimal_point element 1 is set to thousands_sep MonthNames is set to mon MonthAbbreviations is set to abmon DayNames is set to day DayAbbreviations is set to abday AmPmMarkers is set to am_pm DateTimePatterns elements 0 through 3 are set to t_fmt_ampm with the patterns converted elements 4 through 7 are set to d_fmt with the patterns converted Adition POSIX data may be included in the Locale as follows: LC_TYPE This section is ignored unless the -LC_CTYPE option is specified. If the -LC_CTYPE option is specified, the following items are added to the locale if they are present in the source: upper, lower, alpha, digit, space, cntrl, punct, graph, print, xdigit, blank, toupper, tolower. LC_MESSAGES LC_MONETARY LC_NUMERIC LC_TIME If the -LC_TIME option is specified, the following items will be included if they are present in the source: abday, day, abmon, mon, d_t_fmt, d_ftm, t_fmt, am_pm, t_fmt_ampm, era, era_year, era_d_fmt, alt_digits. LC_COLLATE Converted to collations in the resource file.



Constructor Summary
public  ConvertPOSIXLocale(String args)
    

Method Summary
public static  voidmain(String args)
    
public  voidprocess(String args)
    


Constructor Detail
ConvertPOSIXLocale
public ConvertPOSIXLocale(String args)(Code)




Method Detail
main
public static void main(String args)(Code)



process
public void process(String args)(Code)



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.