1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
5 <!-- Generated by javadoc (build 1.5.0_09) on Sun Jul 15 14:27:35 BST 2007 -->
7 StringUtils (leJOS NXT API documentation)
10 <META NAME="keywords" CONTENT="java.lang.StringUtils class">
12 <LINK REL ="stylesheet" TYPE="text/css" HREF="../../stylesheet.css" TITLE="Style">
14 <SCRIPT type="text/javascript">
15 function windowTitle()
17 parent.document.title="StringUtils (leJOS NXT API documentation)";
25 <BODY BGCOLOR="white" onload="windowTitle();">
28 <!-- ========= START OF TOP NAVBAR ======= -->
29 <A NAME="navbar_top"><!-- --></A>
30 <A HREF="#skip-navbar_top" title="Skip navigation links"></A>
31 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
33 <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
34 <A NAME="navbar_top_firstrow"><!-- --></A>
35 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
36 <TR ALIGN="center" VALIGN="top">
37 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
38 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
39 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
40 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
41 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
42 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
43 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
47 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
53 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
54 <A HREF="../../java/lang/StringBuffer.html" title="class in java.lang"><B>PREV CLASS</B></A>
55 <A HREF="../../java/lang/System.html" title="class in java.lang"><B>NEXT CLASS</B></A></FONT></TD>
56 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
57 <A HREF="../../index.html?java/lang/StringUtils.html" target="_top"><B>FRAMES</B></A>
58 <A HREF="StringUtils.html" target="_top"><B>NO FRAMES</B></A>
59 <SCRIPT type="text/javascript">
62 document.writeln('<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>');
67 <A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>
74 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
75 SUMMARY: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD>
76 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
77 DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD>
80 <A NAME="skip-navbar_top"></A>
81 <!-- ========= END OF TOP NAVBAR ========= -->
84 <!-- ======== START OF CLASS DATA ======== -->
89 Class StringUtils</H2>
91 <A HREF="../../java/lang/Object.html" title="class in java.lang">java.lang.Object</A>
92 <IMG SRC="../../resources/inherit.gif" ALT="extended by "><B>java.lang.StringUtils</B>
96 <DT><PRE>public final class <B>StringUtils</B><DT>extends <A HREF="../../java/lang/Object.html" title="class in java.lang">Object</A></DL>
100 Utilities for non-standard String maniplulation.
101 Use of these utilities will make your programs non-standard.
109 <!-- ========== METHOD SUMMARY =========== -->
111 <A NAME="method_summary"><!-- --></A>
112 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
113 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
114 <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
115 <B>Method Summary</B></FONT></TH>
117 <TR BGCOLOR="white" CLASS="TableRowColor">
118 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
119 <CODE>static char[]</CODE></FONT></TD>
120 <TD><CODE><B><A HREF="../../java/lang/StringUtils.html#getCharacters(java.lang.String)">getCharacters</A></B>(<A HREF="../../java/lang/String.html" title="class in java.lang">String</A> s)</CODE>
123 Return the character array corresponding to the String without copying it.</TD>
126 <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
127 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
128 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
129 <TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="../../java/lang/Object.html" title="class in java.lang">Object</A></B></TH>
131 <TR BGCOLOR="white" CLASS="TableRowColor">
132 <TD><CODE><A HREF="../../java/lang/Object.html#equals(java.lang.Object)">equals</A>, <A HREF="../../java/lang/Object.html#getClass()">getClass</A>, <A HREF="../../java/lang/Object.html#hashCode()">hashCode</A>, <A HREF="../../java/lang/Object.html#notify()">notify</A>, <A HREF="../../java/lang/Object.html#notifyAll()">notifyAll</A>, <A HREF="../../java/lang/Object.html#toString()">toString</A>, <A HREF="../../java/lang/Object.html#wait()">wait</A>, <A HREF="../../java/lang/Object.html#wait(long)">wait</A></CODE></TD>
138 <!-- ============ METHOD DETAIL ========== -->
140 <A NAME="method_detail"><!-- --></A>
141 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
142 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
143 <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
144 <B>Method Detail</B></FONT></TH>
148 <A NAME="getCharacters(java.lang.String)"><!-- --></A><H3>
151 public static char[] <B>getCharacters</B>(<A HREF="../../java/lang/String.html" title="class in java.lang">String</A> s)</PRE>
153 <DD>Return the character array corresponding to the String without copying it.
154 This method, unlike the toCharArray method of String, uses no memory.
155 This method should be used with care as it is non-standard and allows
156 the contents of a String to be overwritten.
157 Use in user programs will make the programs non-standard and non-portable.
160 <DT><B>Parameters:</B><DD><CODE>s</CODE> - the String whose characters are required
161 <DT><B>Returns:</B><DD>the character array (uncopied)</DL>
164 <!-- ========= END OF CLASS DATA ========= -->
168 <!-- ======= START OF BOTTOM NAVBAR ====== -->
169 <A NAME="navbar_bottom"><!-- --></A>
170 <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
171 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
173 <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
174 <A NAME="navbar_bottom_firstrow"><!-- --></A>
175 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
176 <TR ALIGN="center" VALIGN="top">
177 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
178 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
179 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
180 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
181 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
182 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
183 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
187 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
193 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
194 <A HREF="../../java/lang/StringBuffer.html" title="class in java.lang"><B>PREV CLASS</B></A>
195 <A HREF="../../java/lang/System.html" title="class in java.lang"><B>NEXT CLASS</B></A></FONT></TD>
196 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
197 <A HREF="../../index.html?java/lang/StringUtils.html" target="_top"><B>FRAMES</B></A>
198 <A HREF="StringUtils.html" target="_top"><B>NO FRAMES</B></A>
199 <SCRIPT type="text/javascript">
202 document.writeln('<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>');
207 <A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>
214 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
215 SUMMARY: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD>
216 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
217 DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD>
220 <A NAME="skip-navbar_bottom"></A>
221 <!-- ======== END OF BOTTOM NAVBAR ======= -->