Java Doc for MappedEncoding.java in  » PDF » jPod » de » intarsys » pdf » encoding » 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 » PDF » jPod » de.intarsys.pdf.encoding 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   de.intarsys.pdf.encoding.Encoding
      de.intarsys.pdf.encoding.MappedEncoding

All known Subclasses:   de.intarsys.pdf.encoding.MacOSRomanEncoding,  de.intarsys.pdf.encoding.StandardEncoding,  de.intarsys.pdf.encoding.WinAnsiEncoding,  de.intarsys.pdf.encoding.MacRomanEncoding,  de.intarsys.pdf.encoding.PDFDocEncoding,
MappedEncoding
public class MappedEncoding extends Encoding (Code)
A MappedEncoding is an explicit map from a codepoint to a name (and vice versa).

A MappedEncoding can be constructed individually (as in a DifferenceEncoding) or be one of the predefined well known encodings that are implemented using unique instances.




Constructor Summary
public  MappedEncoding()
    

Method Summary
public  voidaddEncoding(int codePoint, String name)
     When constructing manually, one can define a map from codePoint to name with this method.
public  voidaddEncoding(int codePoint, String name, int unicode)
     Add a known complete tuple.
protected  voiddefineEntry(int codePoint, int unicode, String name)
     Define an entry the establishes a relationship between byte code code point, unicode code point and Adobe glyph name.
public  intgetByteCode(int unicode)
    
public  intgetByteCode(String name)
    
protected  String[]getByteToName()
     The internal representation of the map from codePoint to character name.
protected  int[]getByteToUnicode()
     The internal representation of the map from byte code to unicode.
public  COSObjectgetCosObject()
    
public  StringgetGlyphName(int codePoint)
    
public  StringgetName()
    
protected  MapgetNameToByte()
     The internal representation of the map from names to byte value code point.
public  intgetUnicode(int byteValue)
    
protected  MapgetUnicodeToByte()
     The internal representation of the map from unicode code point to byte value code point.
public  intgetValidByteCode(int unicode)
    
public  intgetValidByteCode(String name)
    


Constructor Detail
MappedEncoding
public MappedEncoding()(Code)
Create a MappedEncoding




Method Detail
addEncoding
public void addEncoding(int codePoint, String name)(Code)
When constructing manually, one can define a map from codePoint to name with this method.
Parameters:
  codePoint - The codePoint from 0..255 where the character should bemapped.
Parameters:
  name - The name of the character to be mapped.



addEncoding
public void addEncoding(int codePoint, String name, int unicode)(Code)
Add a known complete tuple. THis is used if we do not have a name/unicode standard map (for example in symbolic fonts).
Parameters:
  codePoint - The codePoint from 0..255 where the character should bemapped.
Parameters:
  name - The name of the character to be mapped.
Parameters:
  unicode - The unicode value



defineEntry
protected void defineEntry(int codePoint, int unicode, String name)(Code)
Define an entry the establishes a relationship between byte code code point, unicode code point and Adobe glyph name.
Parameters:
  codePoint - The byte code code point.
Parameters:
  unicode - The unicode code point.
Parameters:
  name - The Adobe glyph name.



getByteCode
public int getByteCode(int unicode)(Code)



getByteCode
public int getByteCode(String name)(Code)



getByteToName
protected String[] getByteToName()(Code)
The internal representation of the map from codePoint to character name. The internal representation of the map from codePoint tocharacter name.



getByteToUnicode
protected int[] getByteToUnicode()(Code)
The internal representation of the map from byte code to unicode. The internal representation of the map from byte code to unicode.



getCosObject
public COSObject getCosObject()(Code)



getGlyphName
public String getGlyphName(int codePoint)(Code)



getName
public String getName()(Code)



getNameToByte
protected Map getNameToByte()(Code)
The internal representation of the map from names to byte value code point. The internal representation of the map from names to byte valuecode point.



getUnicode
public int getUnicode(int byteValue)(Code)



getUnicodeToByte
protected Map getUnicodeToByte()(Code)
The internal representation of the map from unicode code point to byte value code point. The internal representation of the map from unicode code point tobyte value code point.



getValidByteCode
public int getValidByteCode(int unicode)(Code)



getValidByteCode
public int getValidByteCode(String name)(Code)



Fields inherited from de.intarsys.pdf.encoding.Encoding
final public static COSName CN_MacRomanEncoding(Code)(Java Doc)
final public static COSName CN_StandardEncoding(Code)(Java Doc)
final public static COSName CN_WinAnsiEncoding(Code)(Java Doc)
final public static String NAME_A(Code)(Java Doc)
final public static String NAME_AE(Code)(Java Doc)
final public static String NAME_Aacute(Code)(Java Doc)
final public static String NAME_Acircumflex(Code)(Java Doc)
final public static String NAME_Adieresis(Code)(Java Doc)
final public static String NAME_Agrave(Code)(Java Doc)
final public static String NAME_Aring(Code)(Java Doc)
final public static String NAME_Atilde(Code)(Java Doc)
final public static String NAME_B(Code)(Java Doc)
final public static String NAME_C(Code)(Java Doc)
final public static String NAME_Ccedilla(Code)(Java Doc)
final public static String NAME_D(Code)(Java Doc)
final public static String NAME_E(Code)(Java Doc)
final public static String NAME_Eacute(Code)(Java Doc)
final public static String NAME_Ecircumflex(Code)(Java Doc)
final public static String NAME_Edieresis(Code)(Java Doc)
final public static String NAME_Egrave(Code)(Java Doc)
final public static String NAME_Eth(Code)(Java Doc)
final public static String NAME_Euro(Code)(Java Doc)
final public static String NAME_F(Code)(Java Doc)
final public static String NAME_G(Code)(Java Doc)
final public static String NAME_H(Code)(Java Doc)
final public static String NAME_I(Code)(Java Doc)
final public static String NAME_Iacute(Code)(Java Doc)
final public static String NAME_Icircumflex(Code)(Java Doc)
final public static String NAME_Idieresis(Code)(Java Doc)
final public static String NAME_Igrave(Code)(Java Doc)
final public static String NAME_J(Code)(Java Doc)
final public static String NAME_K(Code)(Java Doc)
final public static String NAME_L(Code)(Java Doc)
final public static String NAME_Lslash(Code)(Java Doc)
final public static String NAME_M(Code)(Java Doc)
final public static String NAME_N(Code)(Java Doc)
final public static String NAME_Ntilde(Code)(Java Doc)
final public static String NAME_O(Code)(Java Doc)
final public static String NAME_OE(Code)(Java Doc)
final public static String NAME_Oacute(Code)(Java Doc)
final public static String NAME_Ocircumflex(Code)(Java Doc)
final public static String NAME_Odieresis(Code)(Java Doc)
final public static String NAME_Ograve(Code)(Java Doc)
final public static String NAME_Oslash(Code)(Java Doc)
final public static String NAME_Otilde(Code)(Java Doc)
final public static String NAME_P(Code)(Java Doc)
final public static String NAME_Q(Code)(Java Doc)
final public static String NAME_R(Code)(Java Doc)
final public static String NAME_S(Code)(Java Doc)
final public static String NAME_Scaron(Code)(Java Doc)
final public static String NAME_T(Code)(Java Doc)
final public static String NAME_Thorn(Code)(Java Doc)
final public static String NAME_U(Code)(Java Doc)
final public static String NAME_Uacute(Code)(Java Doc)
final public static String NAME_Ucircumflex(Code)(Java Doc)
final public static String NAME_Udieresis(Code)(Java Doc)
final public static String NAME_Ugrave(Code)(Java Doc)
final public static String NAME_V(Code)(Java Doc)
final public static String NAME_W(Code)(Java Doc)
final public static String NAME_X(Code)(Java Doc)
final public static String NAME_Y(Code)(Java Doc)
final public static String NAME_Yacute(Code)(Java Doc)
final public static String NAME_Ydieresis(Code)(Java Doc)
final public static String NAME_Z(Code)(Java Doc)
final public static String NAME_Zcaron(Code)(Java Doc)
final public static String NAME_a(Code)(Java Doc)
final public static String NAME_aacute(Code)(Java Doc)
final public static String NAME_acircumflex(Code)(Java Doc)
final public static String NAME_acute(Code)(Java Doc)
final public static String NAME_adieresis(Code)(Java Doc)
final public static String NAME_ae(Code)(Java Doc)
final public static String NAME_agrave(Code)(Java Doc)
final public static String NAME_ampersand(Code)(Java Doc)
final public static String NAME_aring(Code)(Java Doc)
final public static String NAME_asciicircum(Code)(Java Doc)
final public static String NAME_asciitilde(Code)(Java Doc)
final public static String NAME_asterisk(Code)(Java Doc)
final public static String NAME_at(Code)(Java Doc)
final public static String NAME_atilde(Code)(Java Doc)
final public static String NAME_b(Code)(Java Doc)
final public static String NAME_backslash(Code)(Java Doc)
final public static String NAME_bar(Code)(Java Doc)
final public static String NAME_braceleft(Code)(Java Doc)
final public static String NAME_braceright(Code)(Java Doc)
final public static String NAME_bracketleft(Code)(Java Doc)
final public static String NAME_bracketright(Code)(Java Doc)
final public static String NAME_breve(Code)(Java Doc)
final public static String NAME_brokenbar(Code)(Java Doc)
final public static String NAME_bullet(Code)(Java Doc)
final public static String NAME_c(Code)(Java Doc)
final public static String NAME_caron(Code)(Java Doc)
final public static String NAME_ccedilla(Code)(Java Doc)
final public static String NAME_cedilla(Code)(Java Doc)
final public static String NAME_cent(Code)(Java Doc)
final public static String NAME_circumflex(Code)(Java Doc)
final public static String NAME_colon(Code)(Java Doc)
final public static String NAME_comma(Code)(Java Doc)
final public static String NAME_copyright(Code)(Java Doc)
final public static String NAME_currency(Code)(Java Doc)
final public static String NAME_d(Code)(Java Doc)
final public static String NAME_dagger(Code)(Java Doc)
final public static String NAME_daggerdbl(Code)(Java Doc)
final public static String NAME_degree(Code)(Java Doc)
final public static String NAME_dieresis(Code)(Java Doc)
final public static String NAME_divide(Code)(Java Doc)
final public static String NAME_dollar(Code)(Java Doc)
final public static String NAME_dotaccent(Code)(Java Doc)
final public static String NAME_dotlessi(Code)(Java Doc)
final public static String NAME_e(Code)(Java Doc)
final public static String NAME_eacute(Code)(Java Doc)
final public static String NAME_ecircumflex(Code)(Java Doc)
final public static String NAME_edieresis(Code)(Java Doc)
final public static String NAME_egrave(Code)(Java Doc)
final public static String NAME_eight(Code)(Java Doc)
final public static String NAME_ellipsis(Code)(Java Doc)
final public static String NAME_emdash(Code)(Java Doc)
final public static String NAME_endash(Code)(Java Doc)
final public static String NAME_equal(Code)(Java Doc)
final public static String NAME_eth(Code)(Java Doc)
final public static String NAME_exclam(Code)(Java Doc)
final public static String NAME_exclamdown(Code)(Java Doc)
final public static String NAME_f(Code)(Java Doc)
final public static String NAME_fi(Code)(Java Doc)
final public static String NAME_five(Code)(Java Doc)
final public static String NAME_fl(Code)(Java Doc)
final public static String NAME_florin(Code)(Java Doc)
final public static String NAME_four(Code)(Java Doc)
final public static String NAME_fraction(Code)(Java Doc)
final public static String NAME_g(Code)(Java Doc)
final public static String NAME_germandbls(Code)(Java Doc)
final public static String NAME_grave(Code)(Java Doc)
final public static String NAME_greater(Code)(Java Doc)
final public static String NAME_guillemotleft(Code)(Java Doc)
final public static String NAME_guillemotright(Code)(Java Doc)
final public static String NAME_guilsinglleft(Code)(Java Doc)
final public static String NAME_guilsinglright(Code)(Java Doc)
final public static String NAME_h(Code)(Java Doc)
final public static String NAME_hungarumlaut(Code)(Java Doc)
final public static String NAME_hyphen(Code)(Java Doc)
final public static String NAME_i(Code)(Java Doc)
final public static String NAME_iacute(Code)(Java Doc)
final public static String NAME_icircumflex(Code)(Java Doc)
final public static String NAME_idieresis(Code)(Java Doc)
final public static String NAME_igrave(Code)(Java Doc)
final public static String NAME_j(Code)(Java Doc)
final public static String NAME_k(Code)(Java Doc)
final public static String NAME_l(Code)(Java Doc)
final public static String NAME_less(Code)(Java Doc)
final public static String NAME_logicalnot(Code)(Java Doc)
final public static String NAME_lslash(Code)(Java Doc)
final public static String NAME_m(Code)(Java Doc)
final public static String NAME_macron(Code)(Java Doc)
final public static String NAME_minus(Code)(Java Doc)
final public static String NAME_mu(Code)(Java Doc)
final public static String NAME_multiply(Code)(Java Doc)
final public static String NAME_n(Code)(Java Doc)
final public static String NAME_nine(Code)(Java Doc)
final public static String NAME_ntilde(Code)(Java Doc)
final public static String NAME_numbersign(Code)(Java Doc)
final public static String NAME_o(Code)(Java Doc)
final public static String NAME_oacute(Code)(Java Doc)
final public static String NAME_ocircumflex(Code)(Java Doc)
final public static String NAME_odieresis(Code)(Java Doc)
final public static String NAME_oe(Code)(Java Doc)
final public static String NAME_ogonek(Code)(Java Doc)
final public static String NAME_ograve(Code)(Java Doc)
final public static String NAME_one(Code)(Java Doc)
final public static String NAME_onehalf(Code)(Java Doc)
final public static String NAME_onequarter(Code)(Java Doc)
final public static String NAME_onesuperior(Code)(Java Doc)
final public static String NAME_ordfeminine(Code)(Java Doc)
final public static String NAME_ordmasculine(Code)(Java Doc)
final public static String NAME_oslash(Code)(Java Doc)
final public static String NAME_otilde(Code)(Java Doc)
final public static String NAME_p(Code)(Java Doc)
final public static String NAME_paragraph(Code)(Java Doc)
final public static String NAME_parenleft(Code)(Java Doc)
final public static String NAME_parenright(Code)(Java Doc)
final public static String NAME_percent(Code)(Java Doc)
final public static String NAME_period(Code)(Java Doc)
final public static String NAME_periodcentered(Code)(Java Doc)
final public static String NAME_perthousand(Code)(Java Doc)
final public static String NAME_plus(Code)(Java Doc)
final public static String NAME_plusminus(Code)(Java Doc)
final public static String NAME_q(Code)(Java Doc)
final public static String NAME_question(Code)(Java Doc)
final public static String NAME_questiondown(Code)(Java Doc)
final public static String NAME_quotedbl(Code)(Java Doc)
final public static String NAME_quotedblbase(Code)(Java Doc)
final public static String NAME_quotedblleft(Code)(Java Doc)
final public static String NAME_quotedblright(Code)(Java Doc)
final public static String NAME_quoteleft(Code)(Java Doc)
final public static String NAME_quoteright(Code)(Java Doc)
final public static String NAME_quotesinglbase(Code)(Java Doc)
final public static String NAME_quotesingle(Code)(Java Doc)
final public static String NAME_r(Code)(Java Doc)
final public static String NAME_registered(Code)(Java Doc)
final public static String NAME_ring(Code)(Java Doc)
final public static String NAME_s(Code)(Java Doc)
final public static String NAME_scaron(Code)(Java Doc)
final public static String NAME_section(Code)(Java Doc)
final public static String NAME_semicolon(Code)(Java Doc)
final public static String NAME_seven(Code)(Java Doc)
final public static String NAME_six(Code)(Java Doc)
final public static String NAME_slash(Code)(Java Doc)
final public static String NAME_space(Code)(Java Doc)
final public static String NAME_sterling(Code)(Java Doc)
final public static String NAME_t(Code)(Java Doc)
final public static String NAME_thorn(Code)(Java Doc)
final public static String NAME_three(Code)(Java Doc)
final public static String NAME_threequarters(Code)(Java Doc)
final public static String NAME_threesuperior(Code)(Java Doc)
final public static String NAME_tilde(Code)(Java Doc)
final public static String NAME_trademark(Code)(Java Doc)
final public static String NAME_two(Code)(Java Doc)
final public static String NAME_twosuperior(Code)(Java Doc)
final public static String NAME_u(Code)(Java Doc)
final public static String NAME_uacute(Code)(Java Doc)
final public static String NAME_ucircumflex(Code)(Java Doc)
final public static String NAME_udieresis(Code)(Java Doc)
final public static String NAME_ugrave(Code)(Java Doc)
final public static String NAME_underscore(Code)(Java Doc)
final public static String NAME_v(Code)(Java Doc)
final public static String NAME_w(Code)(Java Doc)
final public static String NAME_x(Code)(Java Doc)
final public static String NAME_y(Code)(Java Doc)
final public static String NAME_yacute(Code)(Java Doc)
final public static String NAME_ydieresis(Code)(Java Doc)
final public static String NAME_yen(Code)(Java Doc)
final public static String NAME_z(Code)(Java Doc)
final public static String NAME_zcaron(Code)(Java Doc)
final public static String NAME_zero(Code)(Java Doc)

Methods inherited from de.intarsys.pdf.encoding.Encoding
public static Encoding create(COSName name)(Code)(Java Doc)
public Reader createReader(InputStream is)(Code)(Java Doc)
public Writer createWriter(OutputStream os)(Code)(Java Doc)
public String decode(byte[] bytes)(Code)(Java Doc)
public byte[] encode(char[] value)(Code)(Java Doc)
public byte[] encode(String value)(Code)(Java Doc)
abstract public int getByteCode(int unicode)(Code)(Java Doc)
abstract public int getByteCode(String name)(Code)(Java Doc)
abstract public COSObject getCosObject()(Code)(Java Doc)
public String getDifferenceGlyphName(int codePoint)(Code)(Java Doc)
public int getDifferenceUnicode(int codePoint)(Code)(Java Doc)
abstract public String getGlyphName(int codePoint)(Code)(Java Doc)
abstract public String getName()(Code)(Java Doc)
public static Encoding getStandard()(Code)(Java Doc)
abstract public int getUnicode(int byteCode)(Code)(Java Doc)
abstract public int getValidByteCode(int unicode)(Code)(Java Doc)
abstract public int getValidByteCode(String name)(Code)(Java Doc)
public boolean isFontSpecificEncoding()(Code)(Java Doc)
public String toString()(Code)(Java Doc)

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.