Java Doc for Encoding.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

All known Subclasses:   de.intarsys.pdf.encoding.FontSpecificEncoding,  de.intarsys.pdf.encoding.CMapEncoding,  de.intarsys.pdf.font.DifferenceEncoding,  de.intarsys.pdf.encoding.SymbolEncoding,  de.intarsys.pdf.font.AFMEncoding,  de.intarsys.pdf.encoding.MappedEncoding,
Encoding
abstract public class Encoding (Code)
An Encoding defines the mapping from a one byte codepoint to a glyph name in the font.

Every font has a built in encoding that can be changed by adding an explicit encoding to a PDFont. This explicit change may be in the form of a "differences" encoding in an explicit dictionary or by means of a named encoding, one of "MacRomanEncoding" or "WinAnsiEncoding".

todo 2 "MacExpertEncoding" is not supported.

If no encoding is found in the font implementation or the font dictionary, "StandardEncoding" is used.



Field Summary
final public static  COSNameCN_MacRomanEncoding
    
final public static  COSNameCN_StandardEncoding
    
final public static  COSNameCN_WinAnsiEncoding
    
final public static  StringNAME_A
    
final public static  StringNAME_AE
    
final public static  StringNAME_Aacute
    
final public static  StringNAME_Acircumflex
    
final public static  StringNAME_Adieresis
    
final public static  StringNAME_Agrave
    
final public static  StringNAME_Aring
    
final public static  StringNAME_Atilde
    
final public static  StringNAME_B
    
final public static  StringNAME_C
    
final public static  StringNAME_Ccedilla
    
final public static  StringNAME_D
    
final public static  StringNAME_E
    
final public static  StringNAME_Eacute
    
final public static  StringNAME_Ecircumflex
    
final public static  StringNAME_Edieresis
    
final public static  StringNAME_Egrave
    
final public static  StringNAME_Eth
    
final public static  StringNAME_Euro
    
final public static  StringNAME_F
    
final public static  StringNAME_G
    
final public static  StringNAME_H
    
final public static  StringNAME_I
    
final public static  StringNAME_Iacute
    
final public static  StringNAME_Icircumflex
    
final public static  StringNAME_Idieresis
    
final public static  StringNAME_Igrave
    
final public static  StringNAME_J
    
final public static  StringNAME_K
    
final public static  StringNAME_L
    
final public static  StringNAME_Lslash
    
final public static  StringNAME_M
    
final public static  StringNAME_N
    
final public static  StringNAME_Ntilde
    
final public static  StringNAME_O
    
final public static  StringNAME_OE
    
final public static  StringNAME_Oacute
    
final public static  StringNAME_Ocircumflex
    
final public static  StringNAME_Odieresis
    
final public static  StringNAME_Ograve
    
final public static  StringNAME_Oslash
    
final public static  StringNAME_Otilde
    
final public static  StringNAME_P
    
final public static  StringNAME_Q
    
final public static  StringNAME_R
    
final public static  StringNAME_S
    
final public static  StringNAME_Scaron
    
final public static  StringNAME_T
    
final public static  StringNAME_Thorn
    
final public static  StringNAME_U
    
final public static  StringNAME_Uacute
    
final public static  StringNAME_Ucircumflex
    
final public static  StringNAME_Udieresis
    
final public static  StringNAME_Ugrave
    
final public static  StringNAME_V
    
final public static  StringNAME_W
    
final public static  StringNAME_X
    
final public static  StringNAME_Y
    
final public static  StringNAME_Yacute
    
final public static  StringNAME_Ydieresis
    
final public static  StringNAME_Z
    
final public static  StringNAME_Zcaron
    
final public static  StringNAME_a
    
final public static  StringNAME_aacute
    
final public static  StringNAME_acircumflex
    
final public static  StringNAME_acute
    
final public static  StringNAME_adieresis
    
final public static  StringNAME_ae
    
final public static  StringNAME_agrave
    
final public static  StringNAME_ampersand
    
final public static  StringNAME_aring
    
final public static  StringNAME_asciicircum
    
final public static  StringNAME_asciitilde
    
final public static  StringNAME_asterisk
    
final public static  StringNAME_at
    
final public static  StringNAME_atilde
    
final public static  StringNAME_b
    
final public static  StringNAME_backslash
    
final public static  StringNAME_bar
    
final public static  StringNAME_braceleft
    
final public static  StringNAME_braceright
    
final public static  StringNAME_bracketleft
    
final public static  StringNAME_bracketright
    
final public static  StringNAME_breve
    
final public static  StringNAME_brokenbar
    
final public static  StringNAME_bullet
    
final public static  StringNAME_c
    
final public static  StringNAME_caron
    
final public static  StringNAME_ccedilla
    
final public static  StringNAME_cedilla
    
final public static  StringNAME_cent
    
final public static  StringNAME_circumflex
    
final public static  StringNAME_colon
    
final public static  StringNAME_comma
    
final public static  StringNAME_copyright
    
final public static  StringNAME_currency
    
final public static  StringNAME_d
    
final public static  StringNAME_dagger
    
final public static  StringNAME_daggerdbl
    
final public static  StringNAME_degree
    
final public static  StringNAME_dieresis
    
final public static  StringNAME_divide
    
final public static  StringNAME_dollar
    
final public static  StringNAME_dotaccent
    
final public static  StringNAME_dotlessi
    
final public static  StringNAME_e
    
final public static  StringNAME_eacute
    
final public static  StringNAME_ecircumflex
    
final public static  StringNAME_edieresis
    
final public static  StringNAME_egrave
    
final public static  StringNAME_eight
    
final public static  StringNAME_ellipsis
    
final public static  StringNAME_emdash
    
final public static  StringNAME_endash
    
final public static  StringNAME_equal
    
final public static  StringNAME_eth
    
final public static  StringNAME_exclam
    
final public static  StringNAME_exclamdown
    
final public static  StringNAME_f
    
final public static  StringNAME_fi
    
final public static  StringNAME_five
    
final public static  StringNAME_fl
    
final public static  StringNAME_florin
    
final public static  StringNAME_four
    
final public static  StringNAME_fraction
    
final public static  StringNAME_g
    
final public static  StringNAME_germandbls
    
final public static  StringNAME_grave
    
final public static  StringNAME_greater
    
final public static  StringNAME_guillemotleft
    
final public static  StringNAME_guillemotright
    
final public static  StringNAME_guilsinglleft
    
final public static  StringNAME_guilsinglright
    
final public static  StringNAME_h
    
final public static  StringNAME_hungarumlaut
    
final public static  StringNAME_hyphen
    
final public static  StringNAME_i
    
final public static  StringNAME_iacute
    
final public static  StringNAME_icircumflex
    
final public static  StringNAME_idieresis
    
final public static  StringNAME_igrave
    
final public static  StringNAME_j
    
final public static  StringNAME_k
    
final public static  StringNAME_l
    
final public static  StringNAME_less
    
final public static  StringNAME_logicalnot
    
final public static  StringNAME_lslash
    
final public static  StringNAME_m
    
final public static  StringNAME_macron
    
final public static  StringNAME_minus
    
final public static  StringNAME_mu
    
final public static  StringNAME_multiply
    
final public static  StringNAME_n
    
final public static  StringNAME_nine
    
final public static  StringNAME_ntilde
    
final public static  StringNAME_numbersign
    
final public static  StringNAME_o
    
final public static  StringNAME_oacute
    
final public static  StringNAME_ocircumflex
    
final public static  StringNAME_odieresis
    
final public static  StringNAME_oe
    
final public static  StringNAME_ogonek
    
final public static  StringNAME_ograve
    
final public static  StringNAME_one
    
final public static  StringNAME_onehalf
    
final public static  StringNAME_onequarter
    
final public static  StringNAME_onesuperior
    
final public static  StringNAME_ordfeminine
    
final public static  StringNAME_ordmasculine
    
final public static  StringNAME_oslash
    
final public static  StringNAME_otilde
    
final public static  StringNAME_p
    
final public static  StringNAME_paragraph
    
final public static  StringNAME_parenleft
    
final public static  StringNAME_parenright
    
final public static  StringNAME_percent
    
final public static  StringNAME_period
    
final public static  StringNAME_periodcentered
    
final public static  StringNAME_perthousand
    
final public static  StringNAME_plus
    
final public static  StringNAME_plusminus
    
final public static  StringNAME_q
    
final public static  StringNAME_question
    
final public static  StringNAME_questiondown
    
final public static  StringNAME_quotedbl
    
final public static  StringNAME_quotedblbase
    
final public static  StringNAME_quotedblleft
    
final public static  StringNAME_quotedblright
    
final public static  StringNAME_quoteleft
    
final public static  StringNAME_quoteright
    
final public static  StringNAME_quotesinglbase
    
final public static  StringNAME_quotesingle
    
final public static  StringNAME_r
    
final public static  StringNAME_registered
    
final public static  StringNAME_ring
    
final public static  StringNAME_s
    
final public static  StringNAME_scaron
    
final public static  StringNAME_section
    
final public static  StringNAME_semicolon
    
final public static  StringNAME_seven
    
final public static  StringNAME_six
    
final public static  StringNAME_slash
    
final public static  StringNAME_space
    
final public static  StringNAME_sterling
    
final public static  StringNAME_t
    
final public static  StringNAME_thorn
    
final public static  StringNAME_three
    
final public static  StringNAME_threequarters
    
final public static  StringNAME_threesuperior
    
final public static  StringNAME_tilde
    
final public static  StringNAME_trademark
    
final public static  StringNAME_two
    
final public static  StringNAME_twosuperior
    
final public static  StringNAME_u
    
final public static  StringNAME_uacute
    
final public static  StringNAME_ucircumflex
    
final public static  StringNAME_udieresis
    
final public static  StringNAME_ugrave
    
final public static  StringNAME_underscore
    
final public static  StringNAME_v
    
final public static  StringNAME_w
    
final public static  StringNAME_x
    
final public static  StringNAME_y
    
final public static  StringNAME_yacute
    
final public static  StringNAME_ydieresis
    
final public static  StringNAME_yen
    
final public static  StringNAME_z
    
final public static  StringNAME_zcaron
    
final public static  StringNAME_zero
    

Constructor Summary
public  Encoding()
    

Method Summary
public static  Encodingcreate(COSName name)
     "Create" one of the well known encodings.
Parameters:
  name - The name of the encoding to create.
public  ReadercreateReader(InputStream is)
     Create a reader on the InputStream is that uses the encoding defined in the receiver.
Parameters:
  is - The input stream to read.
public  WritercreateWriter(OutputStream os)
     Create a writer on the OutputStream os that uses the encoding defined in the receiver.
Parameters:
  os - The output stream to be written.
public  Stringdecode(byte[] bytes)
    
public  byte[]encode(char[] value)
    
public  byte[]encode(String value)
    
abstract public  intgetByteCode(int unicode)
     Get the byte code point where the character referenced by the Unicode code point unicode is mapped in this font encoding or -1 if invalid.

unicode must be a valid Unicode code point.

abstract public  intgetByteCode(String name)
     Get the code point where the character referenced by the Adobe glyph name name is mapped in this font encoding or -1 if not valid.

name must be a valid Adobe glyph name.

abstract public  COSObjectgetCosObject()
     Get an object that can be used as a representation of the receiver encoding within doc.
public  StringgetDifferenceGlyphName(int codePoint)
    
public  intgetDifferenceUnicode(int codePoint)
    
abstract public  StringgetGlyphName(int codePoint)
     Get the character name for a given encoded byte code point.
abstract public  StringgetName()
    
public static  EncodinggetStandard()
     Return the standard encoding for the PDF specification.
abstract public  intgetUnicode(int byteCode)
     Get the Unicode code point for the encoded code Point byteCode or -1 if not available.
abstract public  intgetValidByteCode(int unicode)
     Get the byte code point where the character referenced by the Unicode code point unicode is mapped in this font encoding or a valid replacement code point if invalid.

unicode must be a valid Unicode code point.

abstract public  intgetValidByteCode(String name)
     Get the code point where the character referenced by the Adobe glyph name name is mapped in this font encoding or a valid replacement.

name must be a valid Adobe glyph name.

public  booleanisFontSpecificEncoding()
     Answer true if this encoding is specific to and embedded into the font program itself so that we can not derive any mapping information from here.
public  StringtoString()
    

Field Detail
CN_MacRomanEncoding
final public static COSName CN_MacRomanEncoding(Code)



CN_StandardEncoding
final public static COSName CN_StandardEncoding(Code)



CN_WinAnsiEncoding
final public static COSName CN_WinAnsiEncoding(Code)



NAME_A
final public static String NAME_A(Code)



NAME_AE
final public static String NAME_AE(Code)



NAME_Aacute
final public static String NAME_Aacute(Code)



NAME_Acircumflex
final public static String NAME_Acircumflex(Code)



NAME_Adieresis
final public static String NAME_Adieresis(Code)



NAME_Agrave
final public static String NAME_Agrave(Code)



NAME_Aring
final public static String NAME_Aring(Code)



NAME_Atilde
final public static String NAME_Atilde(Code)



NAME_B
final public static String NAME_B(Code)



NAME_C
final public static String NAME_C(Code)



NAME_Ccedilla
final public static String NAME_Ccedilla(Code)



NAME_D
final public static String NAME_D(Code)



NAME_E
final public static String NAME_E(Code)



NAME_Eacute
final public static String NAME_Eacute(Code)



NAME_Ecircumflex
final public static String NAME_Ecircumflex(Code)



NAME_Edieresis
final public static String NAME_Edieresis(Code)



NAME_Egrave
final public static String NAME_Egrave(Code)



NAME_Eth
final public static String NAME_Eth(Code)



NAME_Euro
final public static String NAME_Euro(Code)



NAME_F
final public static String NAME_F(Code)



NAME_G
final public static String NAME_G(Code)



NAME_H
final public static String NAME_H(Code)



NAME_I
final public static String NAME_I(Code)



NAME_Iacute
final public static String NAME_Iacute(Code)



NAME_Icircumflex
final public static String NAME_Icircumflex(Code)



NAME_Idieresis
final public static String NAME_Idieresis(Code)



NAME_Igrave
final public static String NAME_Igrave(Code)



NAME_J
final public static String NAME_J(Code)



NAME_K
final public static String NAME_K(Code)



NAME_L
final public static String NAME_L(Code)



NAME_Lslash
final public static String NAME_Lslash(Code)



NAME_M
final public static String NAME_M(Code)



NAME_N
final public static String NAME_N(Code)



NAME_Ntilde
final public static String NAME_Ntilde(Code)



NAME_O
final public static String NAME_O(Code)



NAME_OE
final public static String NAME_OE(Code)



NAME_Oacute
final public static String NAME_Oacute(Code)



NAME_Ocircumflex
final public static String NAME_Ocircumflex(Code)



NAME_Odieresis
final public static String NAME_Odieresis(Code)



NAME_Ograve
final public static String NAME_Ograve(Code)



NAME_Oslash
final public static String NAME_Oslash(Code)



NAME_Otilde
final public static String NAME_Otilde(Code)



NAME_P
final public static String NAME_P(Code)



NAME_Q
final public static String NAME_Q(Code)



NAME_R
final public static String NAME_R(Code)



NAME_S
final public static String NAME_S(Code)



NAME_Scaron
final public static String NAME_Scaron(Code)



NAME_T
final public static String NAME_T(Code)



NAME_Thorn
final public static String NAME_Thorn(Code)



NAME_U
final public static String NAME_U(Code)



NAME_Uacute
final public static String NAME_Uacute(Code)



NAME_Ucircumflex
final public static String NAME_Ucircumflex(Code)



NAME_Udieresis
final public static String NAME_Udieresis(Code)



NAME_Ugrave
final public static String NAME_Ugrave(Code)



NAME_V
final public static String NAME_V(Code)



NAME_W
final public static String NAME_W(Code)



NAME_X
final public static String NAME_X(Code)



NAME_Y
final public static String NAME_Y(Code)



NAME_Yacute
final public static String NAME_Yacute(Code)



NAME_Ydieresis
final public static String NAME_Ydieresis(Code)



NAME_Z
final public static String NAME_Z(Code)



NAME_Zcaron
final public static String NAME_Zcaron(Code)



NAME_a
final public static String NAME_a(Code)



NAME_aacute
final public static String NAME_aacute(Code)



NAME_acircumflex
final public static String NAME_acircumflex(Code)



NAME_acute
final public static String NAME_acute(Code)



NAME_adieresis
final public static String NAME_adieresis(Code)



NAME_ae
final public static String NAME_ae(Code)



NAME_agrave
final public static String NAME_agrave(Code)



NAME_ampersand
final public static String NAME_ampersand(Code)



NAME_aring
final public static String NAME_aring(Code)



NAME_asciicircum
final public static String NAME_asciicircum(Code)



NAME_asciitilde
final public static String NAME_asciitilde(Code)



NAME_asterisk
final public static String NAME_asterisk(Code)



NAME_at
final public static String NAME_at(Code)



NAME_atilde
final public static String NAME_atilde(Code)



NAME_b
final public static String NAME_b(Code)



NAME_backslash
final public static String NAME_backslash(Code)



NAME_bar
final public static String NAME_bar(Code)



NAME_braceleft
final public static String NAME_braceleft(Code)



NAME_braceright
final public static String NAME_braceright(Code)



NAME_bracketleft
final public static String NAME_bracketleft(Code)



NAME_bracketright
final public static String NAME_bracketright(Code)



NAME_breve
final public static String NAME_breve(Code)



NAME_brokenbar
final public static String NAME_brokenbar(Code)



NAME_bullet
final public static String NAME_bullet(Code)



NAME_c
final public static String NAME_c(Code)



NAME_caron
final public static String NAME_caron(Code)



NAME_ccedilla
final public static String NAME_ccedilla(Code)



NAME_cedilla
final public static String NAME_cedilla(Code)



NAME_cent
final public static String NAME_cent(Code)



NAME_circumflex
final public static String NAME_circumflex(Code)



NAME_colon
final public static String NAME_colon(Code)



NAME_comma
final public static String NAME_comma(Code)



NAME_copyright
final public static String NAME_copyright(Code)



NAME_currency
final public static String NAME_currency(Code)



NAME_d
final public static String NAME_d(Code)



NAME_dagger
final public static String NAME_dagger(Code)



NAME_daggerdbl
final public static String NAME_daggerdbl(Code)



NAME_degree
final public static String NAME_degree(Code)



NAME_dieresis
final public static String NAME_dieresis(Code)



NAME_divide
final public static String NAME_divide(Code)



NAME_dollar
final public static String NAME_dollar(Code)



NAME_dotaccent
final public static String NAME_dotaccent(Code)



NAME_dotlessi
final public static String NAME_dotlessi(Code)



NAME_e
final public static String NAME_e(Code)



NAME_eacute
final public static String NAME_eacute(Code)



NAME_ecircumflex
final public static String NAME_ecircumflex(Code)



NAME_edieresis
final public static String NAME_edieresis(Code)



NAME_egrave
final public static String NAME_egrave(Code)



NAME_eight
final public static String NAME_eight(Code)



NAME_ellipsis
final public static String NAME_ellipsis(Code)



NAME_emdash
final public static String NAME_emdash(Code)



NAME_endash
final public static String NAME_endash(Code)



NAME_equal
final public static String NAME_equal(Code)



NAME_eth
final public static String NAME_eth(Code)



NAME_exclam
final public static String NAME_exclam(Code)



NAME_exclamdown
final public static String NAME_exclamdown(Code)



NAME_f
final public static String NAME_f(Code)



NAME_fi
final public static String NAME_fi(Code)



NAME_five
final public static String NAME_five(Code)



NAME_fl
final public static String NAME_fl(Code)



NAME_florin
final public static String NAME_florin(Code)



NAME_four
final public static String NAME_four(Code)



NAME_fraction
final public static String NAME_fraction(Code)



NAME_g
final public static String NAME_g(Code)



NAME_germandbls
final public static String NAME_germandbls(Code)



NAME_grave
final public static String NAME_grave(Code)



NAME_greater
final public static String NAME_greater(Code)



NAME_guillemotleft
final public static String NAME_guillemotleft(Code)



NAME_guillemotright
final public static String NAME_guillemotright(Code)



NAME_guilsinglleft
final public static String NAME_guilsinglleft(Code)



NAME_guilsinglright
final public static String NAME_guilsinglright(Code)



NAME_h
final public static String NAME_h(Code)



NAME_hungarumlaut
final public static String NAME_hungarumlaut(Code)



NAME_hyphen
final public static String NAME_hyphen(Code)



NAME_i
final public static String NAME_i(Code)



NAME_iacute
final public static String NAME_iacute(Code)



NAME_icircumflex
final public static String NAME_icircumflex(Code)



NAME_idieresis
final public static String NAME_idieresis(Code)



NAME_igrave
final public static String NAME_igrave(Code)



NAME_j
final public static String NAME_j(Code)



NAME_k
final public static String NAME_k(Code)



NAME_l
final public static String NAME_l(Code)



NAME_less
final public static String NAME_less(Code)



NAME_logicalnot
final public static String NAME_logicalnot(Code)



NAME_lslash
final public static String NAME_lslash(Code)



NAME_m
final public static String NAME_m(Code)



NAME_macron
final public static String NAME_macron(Code)



NAME_minus
final public static String NAME_minus(Code)



NAME_mu
final public static String NAME_mu(Code)



NAME_multiply
final public static String NAME_multiply(Code)



NAME_n
final public static String NAME_n(Code)



NAME_nine
final public static String NAME_nine(Code)



NAME_ntilde
final public static String NAME_ntilde(Code)



NAME_numbersign
final public static String NAME_numbersign(Code)



NAME_o
final public static String NAME_o(Code)



NAME_oacute
final public static String NAME_oacute(Code)



NAME_ocircumflex
final public static String NAME_ocircumflex(Code)



NAME_odieresis
final public static String NAME_odieresis(Code)



NAME_oe
final public static String NAME_oe(Code)



NAME_ogonek
final public static String NAME_ogonek(Code)



NAME_ograve
final public static String NAME_ograve(Code)



NAME_one
final public static String NAME_one(Code)



NAME_onehalf
final public static String NAME_onehalf(Code)



NAME_onequarter
final public static String NAME_onequarter(Code)



NAME_onesuperior
final public static String NAME_onesuperior(Code)



NAME_ordfeminine
final public static String NAME_ordfeminine(Code)



NAME_ordmasculine
final public static String NAME_ordmasculine(Code)



NAME_oslash
final public static String NAME_oslash(Code)



NAME_otilde
final public static String NAME_otilde(Code)



NAME_p
final public static String NAME_p(Code)



NAME_paragraph
final public static String NAME_paragraph(Code)



NAME_parenleft
final public static String NAME_parenleft(Code)



NAME_parenright
final public static String NAME_parenright(Code)



NAME_percent
final public static String NAME_percent(Code)



NAME_period
final public static String NAME_period(Code)



NAME_periodcentered
final public static String NAME_periodcentered(Code)



NAME_perthousand
final public static String NAME_perthousand(Code)



NAME_plus
final public static String NAME_plus(Code)



NAME_plusminus
final public static String NAME_plusminus(Code)



NAME_q
final public static String NAME_q(Code)



NAME_question
final public static String NAME_question(Code)



NAME_questiondown
final public static String NAME_questiondown(Code)



NAME_quotedbl
final public static String NAME_quotedbl(Code)



NAME_quotedblbase
final public static String NAME_quotedblbase(Code)



NAME_quotedblleft
final public static String NAME_quotedblleft(Code)



NAME_quotedblright
final public static String NAME_quotedblright(Code)



NAME_quoteleft
final public static String NAME_quoteleft(Code)



NAME_quoteright
final public static String NAME_quoteright(Code)



NAME_quotesinglbase
final public static String NAME_quotesinglbase(Code)



NAME_quotesingle
final public static String NAME_quotesingle(Code)



NAME_r
final public static String NAME_r(Code)



NAME_registered
final public static String NAME_registered(Code)



NAME_ring
final public static String NAME_ring(Code)



NAME_s
final public static String NAME_s(Code)



NAME_scaron
final public static String NAME_scaron(Code)



NAME_section
final public static String NAME_section(Code)



NAME_semicolon
final public static String NAME_semicolon(Code)



NAME_seven
final public static String NAME_seven(Code)



NAME_six
final public static String NAME_six(Code)



NAME_slash
final public static String NAME_slash(Code)



NAME_space
final public static String NAME_space(Code)



NAME_sterling
final public static String NAME_sterling(Code)



NAME_t
final public static String NAME_t(Code)



NAME_thorn
final public static String NAME_thorn(Code)



NAME_three
final public static String NAME_three(Code)



NAME_threequarters
final public static String NAME_threequarters(Code)



NAME_threesuperior
final public static String NAME_threesuperior(Code)



NAME_tilde
final public static String NAME_tilde(Code)



NAME_trademark
final public static String NAME_trademark(Code)



NAME_two
final public static String NAME_two(Code)



NAME_twosuperior
final public static String NAME_twosuperior(Code)



NAME_u
final public static String NAME_u(Code)



NAME_uacute
final public static String NAME_uacute(Code)



NAME_ucircumflex
final public static String NAME_ucircumflex(Code)



NAME_udieresis
final public static String NAME_udieresis(Code)



NAME_ugrave
final public static String NAME_ugrave(Code)



NAME_underscore
final public static String NAME_underscore(Code)



NAME_v
final public static String NAME_v(Code)



NAME_w
final public static String NAME_w(Code)



NAME_x
final public static String NAME_x(Code)



NAME_y
final public static String NAME_y(Code)



NAME_yacute
final public static String NAME_yacute(Code)



NAME_ydieresis
final public static String NAME_ydieresis(Code)



NAME_yen
final public static String NAME_yen(Code)



NAME_z
final public static String NAME_z(Code)



NAME_zcaron
final public static String NAME_zcaron(Code)



NAME_zero
final public static String NAME_zero(Code)




Constructor Detail
Encoding
public Encoding()(Code)
Create a new Encoding




Method Detail
create
public static Encoding create(COSName name)(Code)
"Create" one of the well known encodings.
Parameters:
  name - The name of the encoding to create. The encoding implementation.
throws:
  IllegalArgumentException - When the encoding is not supported.



createReader
public Reader createReader(InputStream is)(Code)
Create a reader on the InputStream is that uses the encoding defined in the receiver.
Parameters:
  is - The input stream to read. Create a reader on the InputStream is that usesthe encoding defined in the receiver.



createWriter
public Writer createWriter(OutputStream os)(Code)
Create a writer on the OutputStream os that uses the encoding defined in the receiver.
Parameters:
  os - The output stream to be written. Create a writer on the OutputStream os that usesthe encoding defined in the receiver.



decode
public String decode(byte[] bytes)(Code)



encode
public byte[] encode(char[] value)(Code)



encode
public byte[] encode(String value)(Code)



getByteCode
abstract public int getByteCode(int unicode)(Code)
Get the byte code point where the character referenced by the Unicode code point unicode is mapped in this font encoding or -1 if invalid.

unicode must be a valid Unicode code point. The returned code point is a value from 0...255. If the Unicode code point is not valid or not mapped, -1 is returned.


Parameters:
  unicode - The Unicode code point to look up. The index from 0..255 where this character is mapped or -1.



getByteCode
abstract public int getByteCode(String name)(Code)
Get the code point where the character referenced by the Adobe glyph name name is mapped in this font encoding or -1 if not valid.

name must be a valid Adobe glyph name. The code point is a value from 0...255. If the glyph is not found, -1 is returned.


Parameters:
  name - The glyph name. The index from 0..255 where this character is mapped or -1.



getCosObject
abstract public COSObject getCosObject()(Code)
Get an object that can be used as a representation of the receiver encoding within doc. Get an object that can be used as a representation of thereceiver encoding within doc.



getDifferenceGlyphName
public String getDifferenceGlyphName(int codePoint)(Code)



getDifferenceUnicode
public int getDifferenceUnicode(int codePoint)(Code)



getGlyphName
abstract public String getGlyphName(int codePoint)(Code)
Get the character name for a given encoded byte code point. If no mapping is defined, return ".notdef".
Parameters:
  codePoint - The encoded byte code point. The glyph name of the character referenced bycodePoint or ".notdef".



getName
abstract public String getName()(Code)



getStandard
public static Encoding getStandard()(Code)
Return the standard encoding for the PDF specification. Return the standard encoding for the PDF specification.



getUnicode
abstract public int getUnicode(int byteCode)(Code)
Get the Unicode code point for the encoded code Point byteCode or -1 if not available.
Parameters:
  byteCode - The encoded code point The Unicode code point for the encoded code PointbyteCode or -1.



getValidByteCode
abstract public int getValidByteCode(int unicode)(Code)
Get the byte code point where the character referenced by the Unicode code point unicode is mapped in this font encoding or a valid replacement code point if invalid.

unicode must be a valid Unicode code point. The returned code point is a value from 0...255. If the Unicode code point is not valid or not mapped, a valid code point is returned is returned (for example the space character).


Parameters:
  unicode - The Unicode code point to look up. The index from 0..255 where this character is mapped or validreplacement.



getValidByteCode
abstract public int getValidByteCode(String name)(Code)
Get the code point where the character referenced by the Adobe glyph name name is mapped in this font encoding or a valid replacement.

name must be a valid Adobe glyph name. The code point is a value from 0...255. If the glyph is not found, a valif replacement code point is returned instead (for example the space character).


Parameters:
  name - The glyph name. The index from 0..255 where this character is mapped or a validreplacement.



isFontSpecificEncoding
public boolean isFontSpecificEncoding()(Code)
Answer true if this encoding is specific to and embedded into the font program itself so that we can not derive any mapping information from here. Answer true if this encoding is specific to and embedded into thefont program itself



toString
public String toString()(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.