Source Code Cross Referenced for HebrewTransliteration.java in  » Internationalization-Localization » icu4j » com » ibm » richtext » textpanel » 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.richtext.textpanel 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        /*
002:         * (C) Copyright IBM Corp. 1998-2004.  All Rights Reserved.
003:         *
004:         * The program is provided "as is" without any warranty express or
005:         * implied, including the warranty of non-infringement and the implied
006:         * warranties of merchantibility and fitness for a particular purpose.
007:         * IBM will not be liable for any damages suffered by you as a result
008:         * of using the Program. In no event will IBM be liable for any
009:         * special, indirect or consequential damages or lost profits even if
010:         * IBM has been advised of the possibility of their occurrence. IBM
011:         * will not be liable for any third party claims against you.
012:         */
013:        /*
014:         *
015:         * (C) Copyright IBM Corp. 1998, All Rights Reserved
016:         */
017:
018:        package com.ibm.richtext.textpanel;
019:
020:        /**
021:         * This class implements KeyRemap to produce transliterated Hebrew
022:         * characters from Latin-1 characters.
023:         */
024:
025:        final class HebrewTransliteration extends KeyRemap {
026:
027:            static final String COPYRIGHT = "(C) Copyright IBM Corp. 1998-1999 - All Rights Reserved";
028:
029:            public char remap(char c) {
030:
031:                switch (c) {
032:                case 'a':
033:                    return '\u05D0'; // HEBREW LETTER ALEF
034:                case 'A':
035:                    return '\u05E2'; // HEBREW LETTER AYIN
036:                case 'b':
037:                    return '\u05D1'; // HEBREW LETTER BET
038:                case 'B':
039:                    return '\u05D1'; // HEBREW LETTER BET
040:                case 'c':
041:                    return '\u05E6'; // HEBREW LETTER TSADI
042:                case 'C':
043:                    return '\u05E5'; // HEBREW LETTER FINAL TSADI
044:                case 'd':
045:                    return '\u05D3'; // HEBREW LETTER DALET
046:                case 'D':
047:                    return '\u05BC'; // HEBREW POINT DAGESH
048:                case 'e':
049:                    return '\u05B5'; // HEBREW POINT TSERE
050:                case 'E':
051:                    return '\u05B6'; // HEBREW POINT SEGOL
052:                case 'f':
053:                    return '\u05E4'; // HEBREW LETTER PE
054:                case 'F':
055:                    return '\u05E4'; // HEBREW LETTER PE
056:                case 'g':
057:                    return '\u05D2'; // HEBREW LETTER GIMEL
058:                case 'G':
059:                    return '\u05D2'; // HEBREW LETTER GIMEL
060:                case 'h':
061:                    return '\u05D4'; // HEBREW LETTER HE
062:                case 'H':
063:                    return '\u05D7'; // HEBREW LETTER HET
064:                case 'i':
065:                    return '\u05D9'; // HEBREW LETTER YOD
066:                case 'I':
067:                    return '\u05B4'; // HEBREW POINT HIRIQ
068:                case 'j':
069:                    return '\u05D9'; // HEBREW LETTER YOD
070:                case 'J':
071:                    return '\u05C1'; // HEBREW POINT SHIN DOT
072:                case 'k':
073:                    return '\u05DB'; // HEBREW LETTER KAF
074:                case 'K':
075:                    return '\u05DA'; // HEBREW LETTER FINAL KAF
076:                case 'l':
077:                    return '\u05DC'; // HEBREW LETTER LAMED
078:                case 'L':
079:                    return '\u05DC'; // HEBREW LETTER LAMED
080:                case 'm':
081:                    return '\u05DE'; // HEBREW LETTER MEM
082:                case 'M':
083:                    return '\u05DD'; // HEBREW LETTER FINAL MEM
084:                case 'n':
085:                    return '\u05E0'; // HEBREW LETTER NUN
086:                case 'N':
087:                    return '\u05DF'; // HEBREW LETTER FINAL NUN
088:                case 'o':
089:                    return '\u05D5'; // HEBREW LETTER VAV
090:                case 'O':
091:                    return '\u05B9'; // HEBREW POINT HOLAM
092:                case 'p':
093:                    return '\u05E4'; // HEBREW LETTER PE
094:                case 'P':
095:                    return '\u05E3'; // HEBREW LETTER FINAL PE
096:                case 'q':
097:                    return '\u05E7'; // HEBREW LETTER QOF
098:                case 'Q':
099:                    return '\u05E7'; // HEBREW LETTER QOF
100:                case 'r':
101:                    return '\u05E8'; // HEBREW LETTER RESH
102:                case 'R':
103:                    return '\u05BF'; // HEBREW POINT RAFE
104:                case 's':
105:                    return '\u05E9'; // HEBREW LETTER SHIN
106:                case 'S':
107:                    return '\u05E1'; // HEBREW LETTER SAMEKH
108:                case 't':
109:                    return '\u05EA'; // HEBREW LETTER TAV
110:                case 'T':
111:                    return '\u05D8'; // HEBREW LETTER TET
112:                case 'u':
113:                    return '\u05D5'; // HEBREW LETTER VAV
114:                case 'U':
115:                    return '\u05BB'; // HEBREW POINT QUBUTS
116:                case 'v':
117:                    return '\u05D5'; // HEBREW LETTER VAV
118:                case 'V':
119:                    return '\u05B7'; // HEBREW POINT PATAH
120:                case 'w':
121:                    return '\u05D5'; // HEBREW LETTER VAV
122:                case 'W':
123:                    return '\u05B8'; // HEBREW POINT QAMATS
124:                case 'x':
125:                    return '\u05E6'; // HEBREW LETTER TSADI
126:                case 'X':
127:                    return '\u05E5'; // HEBREW LETTER FINAL TSADI
128:                case 'y':
129:                    return '\u05D9'; // HEBREW LETTER YOD
130:                case 'Y':
131:                    return '\u05D9'; // HEBREW LETTER YOD
132:                case 'z':
133:                    return '\u05D6'; // HEBREW LETTER ZAYIN
134:                case 'Z':
135:                    return '\u05C2'; // HEBREW POINT SIN DOT
136:                }
137:
138:                return c;
139:            }
140:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.