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


java.lang.Object
   com.ibm.icu.text.IDNA

IDNA
final public class IDNA (Code)
IDNA API implements the IDNA protocol as defined in the IDNA RFC. The draft defines 2 operations: ToASCII and ToUnicode. Domain labels containing non-ASCII code points are required to be processed by ToASCII operation before passing it to resolver libraries. Domain names that are obtained from resolver libraries are required to be processed by ToUnicode operation before displaying the domain name to the user. IDNA requires that implementations process input strings with Nameprep, which is a profile of Stringprep , and then with Punycode. Implementations of IDNA MUST fully implement Nameprep and Punycode; neither Nameprep nor Punycode are optional. The input and output of ToASCII and ToUnicode operations are Unicode and are designed to be chainable, i.e., applying ToASCII or ToUnicode operations multiple times to an input string will yield the same result as applying the operation once. ToUnicode(ToUnicode(ToUnicode...(ToUnicode(string)))) == ToUnicode(string) ToASCII(ToASCII(ToASCII...(ToASCII(string))) == ToASCII(string).
author:
   Ram Viswanadha


Field Summary
final public static  intALLOW_UNASSIGNED
    
final public static  intDEFAULT
     Option to prohibit processing of unassigned codepoints in the input and do not check if the input conforms to STD-3 ASCII rules.
final public static  intUSE_STD3_RULES
    


Method Summary
public static  intcompare(StringBuffer s1, StringBuffer s2, int options)
     Compare two IDN strings for equivalence.
public static  intcompare(String s1, String s2, int options)
     Compare two IDN strings for equivalence.
public static  intcompare(UCharacterIterator s1, UCharacterIterator s2, int options)
     Compare two IDN strings for equivalence.
public static  StringBufferconvertIDNToASCII(UCharacterIterator src, int options)
     Convenience function that implements the IDNToASCII operation as defined in the IDNA RFC. This operation is done on complete domain names, e.g: "www.example.com".
public static  StringBufferconvertIDNToASCII(StringBuffer src, int options)
     Convenience function that implements the IDNToASCII operation as defined in the IDNA RFC. This operation is done on complete domain names, e.g: "www.example.com".
public static  StringBufferconvertIDNToASCII(String src, int options)
     Convenience function that implements the IDNToASCII operation as defined in the IDNA RFC. This operation is done on complete domain names, e.g: "www.example.com".
public static  StringBufferconvertIDNToUnicode(UCharacterIterator src, int options)
     Convenience function that implements the IDNToUnicode operation as defined in the IDNA RFC. This operation is done on complete domain names, e.g: "www.example.com".
public static  StringBufferconvertIDNToUnicode(StringBuffer src, int options)
     Convenience function that implements the IDNToUnicode operation as defined in the IDNA RFC. This operation is done on complete domain names, e.g: "www.example.com".
public static  StringBufferconvertIDNToUnicode(String src, int options)
     Convenience function that implements the IDNToUnicode operation as defined in the IDNA RFC. This operation is done on complete domain names, e.g: "www.example.com".
public static  StringBufferconvertToASCII(String src, int options)
     This function implements the ToASCII operation as defined in the IDNA RFC. This operation is done on single labels before sending it to something that expects ASCII names.
public static  StringBufferconvertToASCII(StringBuffer src, int options)
     This function implements the ToASCII operation as defined in the IDNA RFC. This operation is done on single labels before sending it to something that expects ASCII names.
public static  StringBufferconvertToASCII(UCharacterIterator src, int options)
     This function implements the ToASCII operation as defined in the IDNA RFC. This operation is done on single labels before sending it to something that expects ASCII names.
public static  StringBufferconvertToUnicode(String src, int options)
     This function implements the ToUnicode operation as defined in the IDNA RFC. This operation is done on single labels before sending it to something that expects Unicode names.
public static  StringBufferconvertToUnicode(StringBuffer src, int options)
     This function implements the ToUnicode operation as defined in the IDNA RFC. This operation is done on single labels before sending it to something that expects Unicode names.
public static  StringBufferconvertToUnicode(UCharacterIterator src, int options)
     This function implements the ToUnicode operation as defined in the IDNA RFC. This operation is done on single labels before sending it to something that expects Unicode names.

Field Detail
ALLOW_UNASSIGNED
final public static int ALLOW_UNASSIGNED(Code)
Option to allow processing of unassigned codepoints in the input
See Also:   IDNA.convertToASCII
See Also:    #convertToUnicode



DEFAULT
final public static int DEFAULT(Code)
Option to prohibit processing of unassigned codepoints in the input and do not check if the input conforms to STD-3 ASCII rules.
See Also:   IDNA.convertToASCII
See Also:    #convertToUnicode



USE_STD3_RULES
final public static int USE_STD3_RULES(Code)
Option to check if input conforms to STD-3 ASCII rules
See Also:   IDNA.convertToASCII
See Also:    #convertToUnicode





Method Detail
compare
public static int compare(StringBuffer s1, StringBuffer s2, int options) throws StringPrepParseException(Code)
Compare two IDN strings for equivalence. This function splits the domain names into labels and compares them. According to IDN RFC, whenever two labels are compared, they are considered equal if and only if their ASCII forms (obtained by applying toASCII) match using an case-insensitive ASCII comparison. Two domain names are considered a match if and only if all labels match regardless of whether label separators match.
Parameters:
  s1 - First IDN string as StringBuffer
Parameters:
  s2 - Second IDN string as StringBuffer
Parameters:
  options - A bit set of options:- IDNA.DEFAULT Use default options, i.e., do not process unassigned code pointsand do not use STD3 ASCII rulesIf unassigned code points are found the operation fails with ParseException.- IDNA.ALLOW_UNASSIGNED Unassigned values can be converted to ASCII for query operationsIf this option is set, the unassigned code points are in the input are treated as normal Unicode code points.- IDNA.USE_STD3_RULES Use STD3 ASCII rules for host name syntax restrictionsIf this option is set and the input does not satisfy STD3 rules, the operation will fail with ParseException 0 if the strings are equal, > 0 if s1 > s2 and < 0 if s1 < s2
throws:
  ParseException -



compare
public static int compare(String s1, String s2, int options) throws StringPrepParseException(Code)
Compare two IDN strings for equivalence. This function splits the domain names into labels and compares them. According to IDN RFC, whenever two labels are compared, they are considered equal if and only if their ASCII forms (obtained by applying toASCII) match using an case-insensitive ASCII comparison. Two domain names are considered a match if and only if all labels match regardless of whether label separators match.
Parameters:
  s1 - First IDN string
Parameters:
  s2 - Second IDN string
Parameters:
  options - A bit set of options:- IDNA.DEFAULT Use default options, i.e., do not process unassigned code pointsand do not use STD3 ASCII rulesIf unassigned code points are found the operation fails with ParseException.- IDNA.ALLOW_UNASSIGNED Unassigned values can be converted to ASCII for query operationsIf this option is set, the unassigned code points are in the input are treated as normal Unicode code points.- IDNA.USE_STD3_RULES Use STD3 ASCII rules for host name syntax restrictionsIf this option is set and the input does not satisfy STD3 rules, the operation will fail with ParseException 0 if the strings are equal, > 0 if s1 > s2 and < 0 if s1 < s2
throws:
  ParseException -



compare
public static int compare(UCharacterIterator s1, UCharacterIterator s2, int options) throws StringPrepParseException(Code)
Compare two IDN strings for equivalence. This function splits the domain names into labels and compares them. According to IDN RFC, whenever two labels are compared, they are considered equal if and only if their ASCII forms (obtained by applying toASCII) match using an case-insensitive ASCII comparison. Two domain names are considered a match if and only if all labels match regardless of whether label separators match.
Parameters:
  s1 - First IDN string as UCharacterIterator
Parameters:
  s2 - Second IDN string as UCharacterIterator
Parameters:
  options - A bit set of options:- IDNA.DEFAULT Use default options, i.e., do not process unassigned code pointsand do not use STD3 ASCII rulesIf unassigned code points are found the operation fails with ParseException.- IDNA.ALLOW_UNASSIGNED Unassigned values can be converted to ASCII for query operationsIf this option is set, the unassigned code points are in the input are treated as normal Unicode code points.- IDNA.USE_STD3_RULES Use STD3 ASCII rules for host name syntax restrictionsIf this option is set and the input does not satisfy STD3 rules, the operation will fail with ParseException 0 if the strings are equal, > 0 if i1 > i2 and < 0 if i1 < i2
throws:
  ParseException -



convertIDNToASCII
public static StringBuffer convertIDNToASCII(UCharacterIterator src, int options) throws StringPrepParseException(Code)
Convenience function that implements the IDNToASCII operation as defined in the IDNA RFC. This operation is done on complete domain names, e.g: "www.example.com". It is important to note that this operation can fail. If it fails, then the input domain name cannot be used as an Internationalized Domain Name and the application should have methods defined to deal with the failure. Note: IDNA RFC specifies that a conformant application should divide a domain name into separate labels, decide whether to apply allowUnassigned and useSTD3ASCIIRules on each, and then convert. This function does not offer that level of granularity. The options once set will apply to all labels in the domain name
Parameters:
  src - The input string as UCharacterIterator to be processed
Parameters:
  options - A bit set of options:- IDNA.DEFAULT Use default options, i.e., do not process unassigned code pointsand do not use STD3 ASCII rulesIf unassigned code points are found the operation fails with ParseException.- IDNA.ALLOW_UNASSIGNED Unassigned values can be converted to ASCII for query operationsIf this option is set, the unassigned code points are in the input are treated as normal Unicode code points.- IDNA.USE_STD3_RULES Use STD3 ASCII rules for host name syntax restrictionsIf this option is set and the input does not satisfy STD3 rules, the operation will fail with ParseException StringBuffer the converted String
throws:
  ParseException -



convertIDNToASCII
public static StringBuffer convertIDNToASCII(StringBuffer src, int options) throws StringPrepParseException(Code)
Convenience function that implements the IDNToASCII operation as defined in the IDNA RFC. This operation is done on complete domain names, e.g: "www.example.com". It is important to note that this operation can fail. If it fails, then the input domain name cannot be used as an Internationalized Domain Name and the application should have methods defined to deal with the failure. Note: IDNA RFC specifies that a conformant application should divide a domain name into separate labels, decide whether to apply allowUnassigned and useSTD3ASCIIRules on each, and then convert. This function does not offer that level of granularity. The options once set will apply to all labels in the domain name
Parameters:
  src - The input string as a StringBuffer to be processed
Parameters:
  options - A bit set of options:- IDNA.DEFAULT Use default options, i.e., do not process unassigned code pointsand do not use STD3 ASCII rulesIf unassigned code points are found the operation fails with ParseException.- IDNA.ALLOW_UNASSIGNED Unassigned values can be converted to ASCII for query operationsIf this option is set, the unassigned code points are in the input are treated as normal Unicode code points.- IDNA.USE_STD3_RULES Use STD3 ASCII rules for host name syntax restrictionsIf this option is set and the input does not satisfy STD3 rules, the operation will fail with ParseException StringBuffer the converted String
throws:
  ParseException -



convertIDNToASCII
public static StringBuffer convertIDNToASCII(String src, int options) throws StringPrepParseException(Code)
Convenience function that implements the IDNToASCII operation as defined in the IDNA RFC. This operation is done on complete domain names, e.g: "www.example.com". It is important to note that this operation can fail. If it fails, then the input domain name cannot be used as an Internationalized Domain Name and the application should have methods defined to deal with the failure. Note: IDNA RFC specifies that a conformant application should divide a domain name into separate labels, decide whether to apply allowUnassigned and useSTD3ASCIIRules on each, and then convert. This function does not offer that level of granularity. The options once set will apply to all labels in the domain name
Parameters:
  src - The input string to be processed
Parameters:
  options - A bit set of options:- IDNA.DEFAULT Use default options, i.e., do not process unassigned code pointsand do not use STD3 ASCII rulesIf unassigned code points are found the operation fails with ParseException.- IDNA.ALLOW_UNASSIGNED Unassigned values can be converted to ASCII for query operationsIf this option is set, the unassigned code points are in the input are treated as normal Unicode code points.- IDNA.USE_STD3_RULES Use STD3 ASCII rules for host name syntax restrictionsIf this option is set and the input does not satisfy STD3 rules, the operation will fail with ParseException StringBuffer the converted String
throws:
  ParseException -



convertIDNToUnicode
public static StringBuffer convertIDNToUnicode(UCharacterIterator src, int options) throws StringPrepParseException(Code)
Convenience function that implements the IDNToUnicode operation as defined in the IDNA RFC. This operation is done on complete domain names, e.g: "www.example.com". Note: IDNA RFC specifies that a conformant application should divide a domain name into separate labels, decide whether to apply allowUnassigned and useSTD3ASCIIRules on each, and then convert. This function does not offer that level of granularity. The options once set will apply to all labels in the domain name
Parameters:
  src - The input string as UCharacterIterator to be processed
Parameters:
  options - A bit set of options:- IDNA.DEFAULT Use default options, i.e., do not process unassigned code pointsand do not use STD3 ASCII rulesIf unassigned code points are found the operation fails with ParseException.- IDNA.ALLOW_UNASSIGNED Unassigned values can be converted to ASCII for query operationsIf this option is set, the unassigned code points are in the input are treated as normal Unicode code points.- IDNA.USE_STD3_RULES Use STD3 ASCII rules for host name syntax restrictionsIf this option is set and the input does not satisfy STD3 rules, the operation will fail with ParseException StringBuffer the converted String
throws:
  ParseException -



convertIDNToUnicode
public static StringBuffer convertIDNToUnicode(StringBuffer src, int options) throws StringPrepParseException(Code)
Convenience function that implements the IDNToUnicode operation as defined in the IDNA RFC. This operation is done on complete domain names, e.g: "www.example.com". Note: IDNA RFC specifies that a conformant application should divide a domain name into separate labels, decide whether to apply allowUnassigned and useSTD3ASCIIRules on each, and then convert. This function does not offer that level of granularity. The options once set will apply to all labels in the domain name
Parameters:
  src - The input string as StringBuffer to be processed
Parameters:
  options - A bit set of options:- IDNA.DEFAULT Use default options, i.e., do not process unassigned code pointsand do not use STD3 ASCII rulesIf unassigned code points are found the operation fails with ParseException.- IDNA.ALLOW_UNASSIGNED Unassigned values can be converted to ASCII for query operationsIf this option is set, the unassigned code points are in the input are treated as normal Unicode code points.- IDNA.USE_STD3_RULES Use STD3 ASCII rules for host name syntax restrictionsIf this option is set and the input does not satisfy STD3 rules, the operation will fail with ParseException StringBuffer the converted String
throws:
  ParseException -



convertIDNToUnicode
public static StringBuffer convertIDNToUnicode(String src, int options) throws StringPrepParseException(Code)
Convenience function that implements the IDNToUnicode operation as defined in the IDNA RFC. This operation is done on complete domain names, e.g: "www.example.com". Note: IDNA RFC specifies that a conformant application should divide a domain name into separate labels, decide whether to apply allowUnassigned and useSTD3ASCIIRules on each, and then convert. This function does not offer that level of granularity. The options once set will apply to all labels in the domain name
Parameters:
  src - The input string to be processed
Parameters:
  options - A bit set of options:- IDNA.DEFAULT Use default options, i.e., do not process unassigned code pointsand do not use STD3 ASCII rulesIf unassigned code points are found the operation fails with ParseException.- IDNA.ALLOW_UNASSIGNED Unassigned values can be converted to ASCII for query operationsIf this option is set, the unassigned code points are in the input are treated as normal Unicode code points.- IDNA.USE_STD3_RULES Use STD3 ASCII rules for host name syntax restrictionsIf this option is set and the input does not satisfy STD3 rules, the operation will fail with ParseException StringBuffer the converted String
throws:
  ParseException -



convertToASCII
public static StringBuffer convertToASCII(String src, int options) throws StringPrepParseException(Code)
This function implements the ToASCII operation as defined in the IDNA RFC. This operation is done on single labels before sending it to something that expects ASCII names. A label is an individual part of a domain name. Labels are usually separated by dots; e.g." "www.example.com" is composed of 3 labels "www","example", and "com".
Parameters:
  src - The input string to be processed
Parameters:
  options - A bit set of options:- IDNA.DEFAULT Use default options, i.e., do not process unassigned code pointsand do not use STD3 ASCII rulesIf unassigned code points are found the operation fails with ParseException.- IDNA.ALLOW_UNASSIGNED Unassigned values can be converted to ASCII for query operationsIf this option is set, the unassigned code points are in the input are treated as normal Unicode code points.- IDNA.USE_STD3_RULES Use STD3 ASCII rules for host name syntax restrictionsIf this option is set and the input does not satisfy STD3 rules, the operation will fail with ParseException StringBuffer the converted String
throws:
  ParseException -



convertToASCII
public static StringBuffer convertToASCII(StringBuffer src, int options) throws StringPrepParseException(Code)
This function implements the ToASCII operation as defined in the IDNA RFC. This operation is done on single labels before sending it to something that expects ASCII names. A label is an individual part of a domain name. Labels are usually separated by dots; e.g." "www.example.com" is composed of 3 labels "www","example", and "com".
Parameters:
  src - The input string as StringBuffer to be processed
Parameters:
  options - A bit set of options:- IDNA.DEFAULT Use default options, i.e., do not process unassigned code pointsand do not use STD3 ASCII rulesIf unassigned code points are found the operation fails with ParseException.- IDNA.ALLOW_UNASSIGNED Unassigned values can be converted to ASCII for query operationsIf this option is set, the unassigned code points are in the input are treated as normal Unicode code points.- IDNA.USE_STD3_RULES Use STD3 ASCII rules for host name syntax restrictionsIf this option is set and the input does not satisfy STD3 rules, the operation will fail with ParseException StringBuffer the converted String
throws:
  ParseException -



convertToASCII
public static StringBuffer convertToASCII(UCharacterIterator src, int options) throws StringPrepParseException(Code)
This function implements the ToASCII operation as defined in the IDNA RFC. This operation is done on single labels before sending it to something that expects ASCII names. A label is an individual part of a domain name. Labels are usually separated by dots; e.g." "www.example.com" is composed of 3 labels "www","example", and "com".
Parameters:
  src - The input string as UCharacterIterator to be processed
Parameters:
  options - A bit set of options:- IDNA.DEFAULT Use default options, i.e., do not process unassigned code pointsand do not use STD3 ASCII rulesIf unassigned code points are found the operation fails with ParseException.- IDNA.ALLOW_UNASSIGNED Unassigned values can be converted to ASCII for query operationsIf this option is set, the unassigned code points are in the input are treated as normal Unicode code points.- IDNA.USE_STD3_RULES Use STD3 ASCII rules for host name syntax restrictionsIf this option is set and the input does not satisfy STD3 rules, the operation will fail with ParseException StringBuffer the converted String
throws:
  ParseException -



convertToUnicode
public static StringBuffer convertToUnicode(String src, int options) throws StringPrepParseException(Code)
This function implements the ToUnicode operation as defined in the IDNA RFC. This operation is done on single labels before sending it to something that expects Unicode names. A label is an individual part of a domain name. Labels are usually separated by dots; for e.g." "www.example.com" is composed of 3 labels "www","example", and "com".
Parameters:
  src - The input string to be processed
Parameters:
  options - A bit set of options:- IDNA.DEFAULT Use default options, i.e., do not process unassigned code pointsand do not use STD3 ASCII rulesIf unassigned code points are found the operation fails with ParseException.- IDNA.ALLOW_UNASSIGNED Unassigned values can be converted to ASCII for query operationsIf this option is set, the unassigned code points are in the input are treated as normal Unicode code points.- IDNA.USE_STD3_RULES Use STD3 ASCII rules for host name syntax restrictionsIf this option is set and the input does not satisfy STD3 rules, the operation will fail with ParseException StringBuffer the converted String
throws:
  ParseException -



convertToUnicode
public static StringBuffer convertToUnicode(StringBuffer src, int options) throws StringPrepParseException(Code)
This function implements the ToUnicode operation as defined in the IDNA RFC. This operation is done on single labels before sending it to something that expects Unicode names. A label is an individual part of a domain name. Labels are usually separated by dots; for e.g." "www.example.com" is composed of 3 labels "www","example", and "com".
Parameters:
  src - The input string as StringBuffer to be processed
Parameters:
  options - A bit set of options:- IDNA.DEFAULT Use default options, i.e., do not process unassigned code pointsand do not use STD3 ASCII rulesIf unassigned code points are found the operation fails with ParseException.- IDNA.ALLOW_UNASSIGNED Unassigned values can be converted to ASCII for query operationsIf this option is set, the unassigned code points are in the input are treated as normal Unicode code points.- IDNA.USE_STD3_RULES Use STD3 ASCII rules for host name syntax restrictionsIf this option is set and the input does not satisfy STD3 rules, the operation will fail with ParseException StringBuffer the converted String
throws:
  ParseException -



convertToUnicode
public static StringBuffer convertToUnicode(UCharacterIterator src, int options) throws StringPrepParseException(Code)
This function implements the ToUnicode operation as defined in the IDNA RFC. This operation is done on single labels before sending it to something that expects Unicode names. A label is an individual part of a domain name. Labels are usually separated by dots; for e.g." "www.example.com" is composed of 3 labels "www","example", and "com".
Parameters:
  src - The input string as UCharacterIterator to be processed
Parameters:
  options - A bit set of options:- IDNA.DEFAULT Use default options, i.e., do not process unassigned code pointsand do not use STD3 ASCII rulesIf unassigned code points are found the operation fails with ParseException.- IDNA.ALLOW_UNASSIGNED Unassigned values can be converted to ASCII for query operationsIf this option is set, the unassigned code points are in the input are treated as normal Unicode code points.- IDNA.USE_STD3_RULES Use STD3 ASCII rules for host name syntax restrictionsIf this option is set and the input does not satisfy STD3 rules, the operation will fail with ParseException StringBuffer the converted String
throws:
  ParseException -



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.