Java Doc for String.java in  » Ajax » GWT » com » google » gwt » emul » java » lang » 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 » Ajax » GWT » com.google.gwt.emul.java.lang 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.google.gwt.emul.java.lang.String

String
final public class String implements Comparable<String>,CharSequence,Serializable(Code)
Intrinsic string class.


Field Summary
static  JavaScriptObjecthashCache
     Accesses need to be prefixed with ':' to prevent conflict with built-in JavaScript properties.

Constructor Summary
public  String()
    
public  String(char value)
    
public  String(char value, int offset, int count)
    
public  String(String other)
    

Method Summary
static  String_String()
    
static  String_String(char value)
    
static  String_String(char value, int offset, int count)
    
static  String_String(String other)
    
static  void__checkBounds(int legalCount, int start, int end)
     Checks that bounds are correct.
static  String[]__createArray(int numElements)
    
static  String__translateReplaceString(String replaceStr)
     This method converts Java-escaped dollar signs "\$" into JavaScript-escaped dollar signs "$$", and removes all other lone backslashes, which serve as escapes in Java but are passed through literally in JavaScript.
native public  charcharAt(int index)
    
public  intcompareTo(String other)
    
native public  Stringconcat(String str)
    
native public  booleanendsWith(String suffix)
    
public  booleanequals(Object other)
    
native public  booleanequalsIgnoreCase(String other)
    
native public  inthashCode()
    
native public  intindexOf(int ch)
    
native public  intindexOf(int ch, int startIndex)
    
native public  intindexOf(String str)
    
native public  intindexOf(String str, int startIndex)
    
native public  intlastIndexOf(int ch)
    
native public  intlastIndexOf(int ch, int startIndex)
    
native public  intlastIndexOf(String str)
    
native public  intlastIndexOf(String str, int start)
    
native public  intlength()
    
native public  booleanmatches(String regex)
     Regular expressions vary from the standard implementation.
native public  Stringreplace(char from, char to)
    
native public  StringreplaceAll(String regex, String replace)
     Regular expressions vary from the standard implementation.
native public  StringreplaceFirst(String regex, String replace)
     Regular expressions vary from the standard implementation.
public  String[]split(String regex)
     Regular expressions vary from the standard implementation.
native public  String[]split(String regex, int maxMatch)
     Regular expressions vary from the standard implementation.
public  booleanstartsWith(String prefix)
    
public  booleanstartsWith(String prefix, int toffset)
    
public  CharSequencesubSequence(int beginIndex, int endIndex)
    
native public  Stringsubstring(int beginIndex)
    
native public  Stringsubstring(int beginIndex, int endIndex)
    
public  char[]toCharArray()
    
native public  StringtoLowerCase()
    
public  StringtoString()
    
native public  StringtoUpperCase()
    
native public  Stringtrim()
    
public static  StringvalueOf(boolean x)
    
native public static  StringvalueOf(char x)
    
public static  StringvalueOf(char x, int offset, int count)
    
native public static  StringvalueOf(char[] x)
    
public static  StringvalueOf(double x)
    
public static  StringvalueOf(float x)
    
public static  StringvalueOf(int x)
    
public static  StringvalueOf(long x)
    
public static  StringvalueOf(Object x)
    

Field Detail
hashCache
static JavaScriptObject hashCache(Code)
Accesses need to be prefixed with ':' to prevent conflict with built-in JavaScript properties.




Constructor Detail
String
public String()(Code)



String
public String(char value)(Code)



String
public String(char value, int offset, int count)(Code)



String
public String(String other)(Code)




Method Detail
_String
static String _String()(Code)



_String
static String _String(char value)(Code)



_String
static String _String(char value, int offset, int count)(Code)



_String
static String _String(String other)(Code)



__checkBounds
static void __checkBounds(int legalCount, int start, int end)(Code)
Checks that bounds are correct.
Parameters:
  legalCount - the end of the legal range
Parameters:
  start - must be >= 0
Parameters:
  end - must be <= legalCount and must be >= start



__createArray
static String[] __createArray(int numElements)(Code)



__translateReplaceString
static String __translateReplaceString(String replaceStr)(Code)
This method converts Java-escaped dollar signs "\$" into JavaScript-escaped dollar signs "$$", and removes all other lone backslashes, which serve as escapes in Java but are passed through literally in JavaScript.



charAt
native public char charAt(int index)(Code)



compareTo
public int compareTo(String other)(Code)



concat
native public String concat(String str)(Code)



endsWith
native public boolean endsWith(String suffix)(Code)



equals
public boolean equals(Object other)(Code)



equalsIgnoreCase
native public boolean equalsIgnoreCase(String other)(Code)



hashCode
native public int hashCode()(Code)



indexOf
native public int indexOf(int ch)(Code)



indexOf
native public int indexOf(int ch, int startIndex)(Code)



indexOf
native public int indexOf(String str)(Code)



indexOf
native public int indexOf(String str, int startIndex)(Code)



lastIndexOf
native public int lastIndexOf(int ch)(Code)



lastIndexOf
native public int lastIndexOf(int ch, int startIndex)(Code)



lastIndexOf
native public int lastIndexOf(String str)(Code)



lastIndexOf
native public int lastIndexOf(String str, int start)(Code)



length
native public int length()(Code)



matches
native public boolean matches(String regex)(Code)
Regular expressions vary from the standard implementation. The regex parameter is interpreted by JavaScript as a JavaScript regular expression. For consistency, use only the subset of regular expression syntax common to both Java and JavaScript.



replace
native public String replace(char from, char to)(Code)



replaceAll
native public String replaceAll(String regex, String replace)(Code)
Regular expressions vary from the standard implementation. The regex parameter is interpreted by JavaScript as a JavaScript regular expression. For consistency, use only the subset of regular expression syntax common to both Java and JavaScript.



replaceFirst
native public String replaceFirst(String regex, String replace)(Code)
Regular expressions vary from the standard implementation. The regex parameter is interpreted by JavaScript as a JavaScript regular expression. For consistency, use only the subset of regular expression syntax common to both Java and JavaScript.



split
public String[] split(String regex)(Code)
Regular expressions vary from the standard implementation. The regex parameter is interpreted by JavaScript as a JavaScript regular expression. For consistency, use only the subset of regular expression syntax common to both Java and JavaScript.



split
native public String[] split(String regex, int maxMatch)(Code)
Regular expressions vary from the standard implementation. The regex parameter is interpreted by JavaScript as a JavaScript regular expression. For consistency, use only the subset of regular expression syntax common to both Java and JavaScript.



startsWith
public boolean startsWith(String prefix)(Code)



startsWith
public boolean startsWith(String prefix, int toffset)(Code)



subSequence
public CharSequence subSequence(int beginIndex, int endIndex)(Code)



substring
native public String substring(int beginIndex)(Code)



substring
native public String substring(int beginIndex, int endIndex)(Code)



toCharArray
public char[] toCharArray()(Code)



toLowerCase
native public String toLowerCase()(Code)



toString
public String toString()(Code)



toUpperCase
native public String toUpperCase()(Code)



trim
native public String trim()(Code)



valueOf
public static String valueOf(boolean x)(Code)



valueOf
native public static String valueOf(char x)(Code)



valueOf
public static String valueOf(char x, int offset, int count)(Code)



valueOf
native public static String valueOf(char[] x)(Code)



valueOf
public static String valueOf(double x)(Code)



valueOf
public static String valueOf(float x)(Code)



valueOf
public static String valueOf(int x)(Code)



valueOf
public static String valueOf(long x)(Code)



valueOf
public static String valueOf(Object x)(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.