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.4.2_16) on Sat Mar 15 20:43:48 PDT 2008 -->
6 <META http-equiv=
"Content-Type" content=
"text/html; charset=ISO-8859-1">
8 ToStringBuilder (Commons Lang
2.4 API)
11 <META NAME=
"keywords" CONTENT=
"org.apache.commons.lang.builder.ToStringBuilder class">
13 <LINK REL =
"stylesheet" TYPE=
"text/css" HREF=
"../../../../../stylesheet.css" TITLE=
"Style">
15 <SCRIPT type=
"text/javascript">
16 function windowTitle()
18 parent.document.
title=
"ToStringBuilder (Commons Lang 2.4 API)";
24 <BODY BGCOLOR=
"white" onload=
"windowTitle();">
27 <!-- ========= START OF TOP NAVBAR ======= -->
28 <A NAME=
"navbar_top"><!-- --></A>
29 <A HREF=
"#skip-navbar_top" title=
"Skip navigation links"></A>
30 <TABLE BORDER=
"0" WIDTH=
"100%" CELLPADDING=
"1" CELLSPACING=
"0" SUMMARY=
"">
32 <TD COLSPAN=
3 BGCOLOR=
"#EEEEFF" CLASS=
"NavBarCell1">
33 <A NAME=
"navbar_top_firstrow"><!-- --></A>
34 <TABLE BORDER=
"0" CELLPADDING=
"0" CELLSPACING=
"3" SUMMARY=
"">
35 <TR ALIGN=
"center" VALIGN=
"top">
36 <TD BGCOLOR=
"#EEEEFF" CLASS=
"NavBarCell1"> <A HREF=
"../../../../../overview-summary.html"><FONT CLASS=
"NavBarFont1"><B>Overview
</B></FONT></A> </TD>
37 <TD BGCOLOR=
"#EEEEFF" CLASS=
"NavBarCell1"> <A HREF=
"package-summary.html"><FONT CLASS=
"NavBarFont1"><B>Package
</B></FONT></A> </TD>
38 <TD BGCOLOR=
"#FFFFFF" CLASS=
"NavBarCell1Rev"> <FONT CLASS=
"NavBarFont1Rev"><B>Class
</B></FONT> </TD>
39 <TD BGCOLOR=
"#EEEEFF" CLASS=
"NavBarCell1"> <A HREF=
"class-use/ToStringBuilder.html"><FONT CLASS=
"NavBarFont1"><B>Use
</B></FONT></A> </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=
"../../../../../org/apache/commons/lang/builder/StandardToStringStyle.html" title=
"class in org.apache.commons.lang.builder"><B>PREV CLASS
</B></A>
55 <A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringStyle.html" title=
"class in org.apache.commons.lang.builder"><B>NEXT CLASS
</B></A></FONT></TD>
56 <TD BGCOLOR=
"white" CLASS=
"NavBarCell2"><FONT SIZE=
"-2">
57 <A HREF=
"../../../../../index.html" target=
"_top"><B>FRAMES
</B></A>
58 <A HREF=
"ToStringBuilder.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>
73 <TD VALIGN=
"top" CLASS=
"NavBarCell3"><FONT SIZE=
"-2">
74 SUMMARY:
NESTED
|
FIELD
|
<A HREF=
"#constructor_summary">CONSTR
</A> |
<A HREF=
"#method_summary">METHOD
</A></FONT></TD>
75 <TD VALIGN=
"top" CLASS=
"NavBarCell3"><FONT SIZE=
"-2">
76 DETAIL:
FIELD
|
<A HREF=
"#constructor_detail">CONSTR
</A> |
<A HREF=
"#method_detail">METHOD
</A></FONT></TD>
79 <A NAME=
"skip-navbar_top"></A>
80 <!-- ========= END OF TOP NAVBAR ========= -->
83 <!-- ======== START OF CLASS DATA ======== -->
86 org.apache.commons.lang.builder
</FONT>
88 Class ToStringBuilder
</H2>
91 <IMG SRC=
"../../../../../resources/inherit.gif" ALT=
"extended by"><B>org.apache.commons.lang.builder.ToStringBuilder
</B>
94 <DT><B>Direct Known Subclasses:
</B> <DD><A HREF=
"../../../../../org/apache/commons/lang/builder/ReflectionToStringBuilder.html" title=
"class in org.apache.commons.lang.builder">ReflectionToStringBuilder
</A></DD>
98 <DT>public class
<B>ToStringBuilder
</B><DT>extends java.lang.Object
</DL>
101 <p>Assists in implementing
<CODE>Object.toString()
</CODE> methods.
</p>
103 <p>This class enables a good and consistent
<code>toString()
</code> to be built for any
104 class or object. This class aims to simplify the process by:
</p>
106 <li>allowing field names
</li>
107 <li>handling all types consistently
</li>
108 <li>handling nulls consistently
</li>
109 <li>outputting arrays and multi-dimensional arrays
</li>
110 <li>enabling the detail level to be controlled for Objects and Collections
</li>
111 <li>handling class hierarchies
</li>
114 <p>To use this class write code as follows:
</p>
117 public class Person {
124 public String toString() {
125 return new ToStringBuilder(this).
126 append(
"name", name).
128 append(
"smoker", smoker).
134 <p>This will produce a toString of the format:
135 <code>Person@
7f54[name=Stephen,age=
29,smoker=false]
</code></p>
137 <p>To add the superclass
<code>toString
</code>, use
<A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringBuilder.html#appendSuper(java.lang.String)"><CODE>appendSuper(java.lang.String)
</CODE></A>.
138 To append the
<code>toString
</code> from an object that is delegated
139 to (or any other object), use
<A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringBuilder.html#appendToString(java.lang.String)"><CODE>appendToString(java.lang.String)
</CODE></A>.
</p>
141 <p>Alternatively, there is a method that uses reflection to determine
142 the fields to test. Because these fields are usually private, the method,
143 <code>reflectionToString
</code>, uses
<code>AccessibleObject.setAccessible
</code> to
144 change the visibility of the fields. This will fail under a security manager,
145 unless the appropriate permissions are set up correctly. It is also
146 slower than testing explicitly.
</p>
148 <p>A typical invocation for this method would look like:
</p>
151 public String toString() {
152 return ToStringBuilder.reflectionToString(this);
156 <p>You can also use the builder to debug
3rd party objects:
</p>
159 System.out.println(
"An object: " + ToStringBuilder.reflectionToString(anObject));
162 <p>The exact format of the
<code>toString
</code> is determined by
163 the
<A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringStyle.html" title=
"class in org.apache.commons.lang.builder"><CODE>ToStringStyle
</CODE></A> passed into the constructor.
</p>
168 <DT><B>Since:
</B></DT>
170 <DT><B>Version:
</B></DT>
171 <DD>$Id: ToStringBuilder.java
492354 2007-
01-
03 23:
48:
10Z scolebourne $
</DD>
172 <DT><B>Author:
</B></DT>
173 <DD>Stephen Colebourne, Gary Gregory, Pete Gieser
</DD>
178 <!-- ======== NESTED CLASS SUMMARY ======== -->
181 <!-- =========== FIELD SUMMARY =========== -->
184 <!-- ======== CONSTRUCTOR SUMMARY ======== -->
186 <A NAME=
"constructor_summary"><!-- --></A>
187 <TABLE BORDER=
"1" WIDTH=
"100%" CELLPADDING=
"3" CELLSPACING=
"0" SUMMARY=
"">
188 <TR BGCOLOR=
"#CCCCFF" CLASS=
"TableHeadingColor">
189 <TD COLSPAN=
2><FONT SIZE=
"+2">
190 <B>Constructor Summary
</B></FONT></TD>
192 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
193 <TD><CODE><B><A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringBuilder.html#ToStringBuilder(java.lang.Object)">ToStringBuilder
</A></B>(java.lang.Object
object)
</CODE>
196 Constructor for
<code>ToStringBuilder
</code>.
</TD>
198 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
199 <TD><CODE><B><A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringBuilder.html#ToStringBuilder(java.lang.Object, org.apache.commons.lang.builder.ToStringStyle)">ToStringBuilder
</A></B>(java.lang.Object
object,
200 <A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringStyle.html" title=
"class in org.apache.commons.lang.builder">ToStringStyle
</A> style)
</CODE>
203 Constructor for
<code>ToStringBuilder
</code> specifying the
206 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
207 <TD><CODE><B><A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringBuilder.html#ToStringBuilder(java.lang.Object, org.apache.commons.lang.builder.ToStringStyle, java.lang.StringBuffer)">ToStringBuilder
</A></B>(java.lang.Object
object,
208 <A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringStyle.html" title=
"class in org.apache.commons.lang.builder">ToStringStyle
</A> style,
209 java.lang.StringBuffer
buffer)
</CODE>
212 Constructor for
<code>ToStringBuilder
</code>.
</TD>
216 <!-- ========== METHOD SUMMARY =========== -->
218 <A NAME=
"method_summary"><!-- --></A>
219 <TABLE BORDER=
"1" WIDTH=
"100%" CELLPADDING=
"3" CELLSPACING=
"0" SUMMARY=
"">
220 <TR BGCOLOR=
"#CCCCFF" CLASS=
"TableHeadingColor">
221 <TD COLSPAN=
2><FONT SIZE=
"+2">
222 <B>Method Summary
</B></FONT></TD>
224 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
225 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
226 <CODE> <A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringBuilder.html" title=
"class in org.apache.commons.lang.builder">ToStringBuilder
</A></CODE></FONT></TD>
227 <TD><CODE><B><A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringBuilder.html#append(boolean)">append
</A></B>(boolean
value)
</CODE>
230 Append to the
<code>toString
</code> a
<code>boolean
</code>
233 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
234 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
235 <CODE> <A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringBuilder.html" title=
"class in org.apache.commons.lang.builder">ToStringBuilder
</A></CODE></FONT></TD>
236 <TD><CODE><B><A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringBuilder.html#append(boolean[])">append
</A></B>(boolean[]
array)
</CODE>
239 Append to the
<code>toString
</code> a
<code>boolean
</code>
242 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
243 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
244 <CODE> <A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringBuilder.html" title=
"class in org.apache.commons.lang.builder">ToStringBuilder
</A></CODE></FONT></TD>
245 <TD><CODE><B><A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringBuilder.html#append(byte)">append
</A></B>(byte
value)
</CODE>
248 Append to the
<code>toString
</code> a
<code>byte
</code>
251 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
252 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
253 <CODE> <A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringBuilder.html" title=
"class in org.apache.commons.lang.builder">ToStringBuilder
</A></CODE></FONT></TD>
254 <TD><CODE><B><A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringBuilder.html#append(byte[])">append
</A></B>(byte[]
array)
</CODE>
257 Append to the
<code>toString
</code> a
<code>byte
</code>
260 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
261 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
262 <CODE> <A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringBuilder.html" title=
"class in org.apache.commons.lang.builder">ToStringBuilder
</A></CODE></FONT></TD>
263 <TD><CODE><B><A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringBuilder.html#append(char)">append
</A></B>(char
value)
</CODE>
266 Append to the
<code>toString
</code> a
<code>char
</code>
269 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
270 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
271 <CODE> <A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringBuilder.html" title=
"class in org.apache.commons.lang.builder">ToStringBuilder
</A></CODE></FONT></TD>
272 <TD><CODE><B><A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringBuilder.html#append(char[])">append
</A></B>(char[]
array)
</CODE>
275 Append to the
<code>toString
</code> a
<code>char
</code>
278 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
279 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
280 <CODE> <A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringBuilder.html" title=
"class in org.apache.commons.lang.builder">ToStringBuilder
</A></CODE></FONT></TD>
281 <TD><CODE><B><A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringBuilder.html#append(double)">append
</A></B>(double
value)
</CODE>
284 Append to the
<code>toString
</code> a
<code>double
</code>
287 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
288 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
289 <CODE> <A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringBuilder.html" title=
"class in org.apache.commons.lang.builder">ToStringBuilder
</A></CODE></FONT></TD>
290 <TD><CODE><B><A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringBuilder.html#append(double[])">append
</A></B>(double[]
array)
</CODE>
293 Append to the
<code>toString
</code> a
<code>double
</code>
296 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
297 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
298 <CODE> <A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringBuilder.html" title=
"class in org.apache.commons.lang.builder">ToStringBuilder
</A></CODE></FONT></TD>
299 <TD><CODE><B><A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringBuilder.html#append(float)">append
</A></B>(float
value)
</CODE>
302 Append to the
<code>toString
</code> a
<code>float
</code>
305 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
306 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
307 <CODE> <A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringBuilder.html" title=
"class in org.apache.commons.lang.builder">ToStringBuilder
</A></CODE></FONT></TD>
308 <TD><CODE><B><A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringBuilder.html#append(float[])">append
</A></B>(float[]
array)
</CODE>
311 Append to the
<code>toString
</code> a
<code>float
</code>
314 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
315 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
316 <CODE> <A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringBuilder.html" title=
"class in org.apache.commons.lang.builder">ToStringBuilder
</A></CODE></FONT></TD>
317 <TD><CODE><B><A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringBuilder.html#append(int)">append
</A></B>(int
value)
</CODE>
320 Append to the
<code>toString
</code> an
<code>int
</code>
323 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
324 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
325 <CODE> <A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringBuilder.html" title=
"class in org.apache.commons.lang.builder">ToStringBuilder
</A></CODE></FONT></TD>
326 <TD><CODE><B><A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringBuilder.html#append(int[])">append
</A></B>(int[]
array)
</CODE>
329 Append to the
<code>toString
</code> an
<code>int
</code>
332 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
333 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
334 <CODE> <A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringBuilder.html" title=
"class in org.apache.commons.lang.builder">ToStringBuilder
</A></CODE></FONT></TD>
335 <TD><CODE><B><A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringBuilder.html#append(long)">append
</A></B>(long
value)
</CODE>
338 Append to the
<code>toString
</code> a
<code>long
</code>
341 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
342 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
343 <CODE> <A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringBuilder.html" title=
"class in org.apache.commons.lang.builder">ToStringBuilder
</A></CODE></FONT></TD>
344 <TD><CODE><B><A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringBuilder.html#append(long[])">append
</A></B>(long[]
array)
</CODE>
347 Append to the
<code>toString
</code> a
<code>long
</code>
350 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
351 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
352 <CODE> <A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringBuilder.html" title=
"class in org.apache.commons.lang.builder">ToStringBuilder
</A></CODE></FONT></TD>
353 <TD><CODE><B><A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringBuilder.html#append(java.lang.Object)">append
</A></B>(java.lang.Object
obj)
</CODE>
356 Append to the
<code>toString
</code> an
<code>Object
</code>
359 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
360 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
361 <CODE> <A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringBuilder.html" title=
"class in org.apache.commons.lang.builder">ToStringBuilder
</A></CODE></FONT></TD>
362 <TD><CODE><B><A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringBuilder.html#append(java.lang.Object[])">append
</A></B>(java.lang.Object[]
array)
</CODE>
365 Append to the
<code>toString
</code> an
<code>Object
</code>
368 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
369 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
370 <CODE> <A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringBuilder.html" title=
"class in org.apache.commons.lang.builder">ToStringBuilder
</A></CODE></FONT></TD>
371 <TD><CODE><B><A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringBuilder.html#append(short)">append
</A></B>(short
value)
</CODE>
374 Append to the
<code>toString
</code> a
<code>short
</code>
377 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
378 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
379 <CODE> <A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringBuilder.html" title=
"class in org.apache.commons.lang.builder">ToStringBuilder
</A></CODE></FONT></TD>
380 <TD><CODE><B><A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringBuilder.html#append(short[])">append
</A></B>(short[]
array)
</CODE>
383 Append to the
<code>toString
</code> a
<code>short
</code>
386 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
387 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
388 <CODE> <A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringBuilder.html" title=
"class in org.apache.commons.lang.builder">ToStringBuilder
</A></CODE></FONT></TD>
389 <TD><CODE><B><A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringBuilder.html#append(java.lang.String, boolean)">append
</A></B>(java.lang.String
fieldName,
390 boolean
value)
</CODE>
393 Append to the
<code>toString
</code> a
<code>boolean
</code>
396 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
397 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
398 <CODE> <A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringBuilder.html" title=
"class in org.apache.commons.lang.builder">ToStringBuilder
</A></CODE></FONT></TD>
399 <TD><CODE><B><A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringBuilder.html#append(java.lang.String, boolean[])">append
</A></B>(java.lang.String
fieldName,
400 boolean[]
array)
</CODE>
403 Append to the
<code>toString
</code> a
<code>boolean
</code>
406 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
407 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
408 <CODE> <A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringBuilder.html" title=
"class in org.apache.commons.lang.builder">ToStringBuilder
</A></CODE></FONT></TD>
409 <TD><CODE><B><A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringBuilder.html#append(java.lang.String, boolean[], boolean)">append
</A></B>(java.lang.String
fieldName,
410 boolean[]
array,
411 boolean
fullDetail)
</CODE>
414 Append to the
<code>toString
</code> a
<code>boolean
</code>
417 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
418 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
419 <CODE> <A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringBuilder.html" title=
"class in org.apache.commons.lang.builder">ToStringBuilder
</A></CODE></FONT></TD>
420 <TD><CODE><B><A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringBuilder.html#append(java.lang.String, byte)">append
</A></B>(java.lang.String
fieldName,
421 byte
value)
</CODE>
424 Append to the
<code>toString
</code> an
<code>byte
</code>
427 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
428 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
429 <CODE> <A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringBuilder.html" title=
"class in org.apache.commons.lang.builder">ToStringBuilder
</A></CODE></FONT></TD>
430 <TD><CODE><B><A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringBuilder.html#append(java.lang.String, byte[])">append
</A></B>(java.lang.String
fieldName,
431 byte[]
array)
</CODE>
434 Append to the
<code>toString
</code> a
<code>byte
</code> array.
</TD>
436 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
437 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
438 <CODE> <A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringBuilder.html" title=
"class in org.apache.commons.lang.builder">ToStringBuilder
</A></CODE></FONT></TD>
439 <TD><CODE><B><A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringBuilder.html#append(java.lang.String, byte[], boolean)">append
</A></B>(java.lang.String
fieldName,
441 boolean
fullDetail)
</CODE>
444 Append to the
<code>toString
</code> a
<code>byte
</code>
447 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
448 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
449 <CODE> <A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringBuilder.html" title=
"class in org.apache.commons.lang.builder">ToStringBuilder
</A></CODE></FONT></TD>
450 <TD><CODE><B><A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringBuilder.html#append(java.lang.String, char)">append
</A></B>(java.lang.String
fieldName,
451 char
value)
</CODE>
454 Append to the
<code>toString
</code> a
<code>char
</code>
457 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
458 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
459 <CODE> <A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringBuilder.html" title=
"class in org.apache.commons.lang.builder">ToStringBuilder
</A></CODE></FONT></TD>
460 <TD><CODE><B><A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringBuilder.html#append(java.lang.String, char[])">append
</A></B>(java.lang.String
fieldName,
461 char[]
array)
</CODE>
464 Append to the
<code>toString
</code> a
<code>char
</code>
467 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
468 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
469 <CODE> <A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringBuilder.html" title=
"class in org.apache.commons.lang.builder">ToStringBuilder
</A></CODE></FONT></TD>
470 <TD><CODE><B><A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringBuilder.html#append(java.lang.String, char[], boolean)">append
</A></B>(java.lang.String
fieldName,
472 boolean
fullDetail)
</CODE>
475 Append to the
<code>toString
</code> a
<code>char
</code>
478 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
479 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
480 <CODE> <A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringBuilder.html" title=
"class in org.apache.commons.lang.builder">ToStringBuilder
</A></CODE></FONT></TD>
481 <TD><CODE><B><A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringBuilder.html#append(java.lang.String, double)">append
</A></B>(java.lang.String
fieldName,
482 double
value)
</CODE>
485 Append to the
<code>toString
</code> a
<code>double
</code>
488 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
489 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
490 <CODE> <A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringBuilder.html" title=
"class in org.apache.commons.lang.builder">ToStringBuilder
</A></CODE></FONT></TD>
491 <TD><CODE><B><A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringBuilder.html#append(java.lang.String, double[])">append
</A></B>(java.lang.String
fieldName,
492 double[]
array)
</CODE>
495 Append to the
<code>toString
</code> a
<code>double
</code>
498 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
499 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
500 <CODE> <A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringBuilder.html" title=
"class in org.apache.commons.lang.builder">ToStringBuilder
</A></CODE></FONT></TD>
501 <TD><CODE><B><A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringBuilder.html#append(java.lang.String, double[], boolean)">append
</A></B>(java.lang.String
fieldName,
503 boolean
fullDetail)
</CODE>
506 Append to the
<code>toString
</code> a
<code>double
</code>
509 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
510 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
511 <CODE> <A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringBuilder.html" title=
"class in org.apache.commons.lang.builder">ToStringBuilder
</A></CODE></FONT></TD>
512 <TD><CODE><B><A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringBuilder.html#append(java.lang.String, float)">append
</A></B>(java.lang.String
fieldName,
513 float
value)
</CODE>
516 Append to the
<code>toString
</code> an
<code>float
</code>
519 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
520 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
521 <CODE> <A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringBuilder.html" title=
"class in org.apache.commons.lang.builder">ToStringBuilder
</A></CODE></FONT></TD>
522 <TD><CODE><B><A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringBuilder.html#append(java.lang.String, float[])">append
</A></B>(java.lang.String
fieldName,
523 float[]
array)
</CODE>
526 Append to the
<code>toString
</code> a
<code>float
</code>
529 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
530 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
531 <CODE> <A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringBuilder.html" title=
"class in org.apache.commons.lang.builder">ToStringBuilder
</A></CODE></FONT></TD>
532 <TD><CODE><B><A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringBuilder.html#append(java.lang.String, float[], boolean)">append
</A></B>(java.lang.String
fieldName,
534 boolean
fullDetail)
</CODE>
537 Append to the
<code>toString
</code> a
<code>float
</code>
540 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
541 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
542 <CODE> <A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringBuilder.html" title=
"class in org.apache.commons.lang.builder">ToStringBuilder
</A></CODE></FONT></TD>
543 <TD><CODE><B><A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringBuilder.html#append(java.lang.String, int)">append
</A></B>(java.lang.String
fieldName,
544 int
value)
</CODE>
547 Append to the
<code>toString
</code> an
<code>int
</code>
550 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
551 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
552 <CODE> <A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringBuilder.html" title=
"class in org.apache.commons.lang.builder">ToStringBuilder
</A></CODE></FONT></TD>
553 <TD><CODE><B><A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringBuilder.html#append(java.lang.String, int[])">append
</A></B>(java.lang.String
fieldName,
554 int[]
array)
</CODE>
557 Append to the
<code>toString
</code> an
<code>int
</code>
560 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
561 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
562 <CODE> <A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringBuilder.html" title=
"class in org.apache.commons.lang.builder">ToStringBuilder
</A></CODE></FONT></TD>
563 <TD><CODE><B><A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringBuilder.html#append(java.lang.String, int[], boolean)">append
</A></B>(java.lang.String
fieldName,
565 boolean
fullDetail)
</CODE>
568 Append to the
<code>toString
</code> an
<code>int
</code>
571 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
572 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
573 <CODE> <A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringBuilder.html" title=
"class in org.apache.commons.lang.builder">ToStringBuilder
</A></CODE></FONT></TD>
574 <TD><CODE><B><A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringBuilder.html#append(java.lang.String, long)">append
</A></B>(java.lang.String
fieldName,
575 long
value)
</CODE>
578 Append to the
<code>toString
</code> a
<code>long
</code>
581 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
582 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
583 <CODE> <A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringBuilder.html" title=
"class in org.apache.commons.lang.builder">ToStringBuilder
</A></CODE></FONT></TD>
584 <TD><CODE><B><A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringBuilder.html#append(java.lang.String, long[])">append
</A></B>(java.lang.String
fieldName,
585 long[]
array)
</CODE>
588 Append to the
<code>toString
</code> a
<code>long
</code>
591 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
592 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
593 <CODE> <A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringBuilder.html" title=
"class in org.apache.commons.lang.builder">ToStringBuilder
</A></CODE></FONT></TD>
594 <TD><CODE><B><A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringBuilder.html#append(java.lang.String, long[], boolean)">append
</A></B>(java.lang.String
fieldName,
596 boolean
fullDetail)
</CODE>
599 Append to the
<code>toString
</code> a
<code>long
</code>
602 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
603 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
604 <CODE> <A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringBuilder.html" title=
"class in org.apache.commons.lang.builder">ToStringBuilder
</A></CODE></FONT></TD>
605 <TD><CODE><B><A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringBuilder.html#append(java.lang.String, java.lang.Object)">append
</A></B>(java.lang.String
fieldName,
606 java.lang.Object
obj)
</CODE>
609 Append to the
<code>toString
</code> an
<code>Object
</code>
612 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
613 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
614 <CODE> <A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringBuilder.html" title=
"class in org.apache.commons.lang.builder">ToStringBuilder
</A></CODE></FONT></TD>
615 <TD><CODE><B><A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringBuilder.html#append(java.lang.String, java.lang.Object[])">append
</A></B>(java.lang.String
fieldName,
616 java.lang.Object[]
array)
</CODE>
619 Append to the
<code>toString
</code> an
<code>Object
</code>
622 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
623 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
624 <CODE> <A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringBuilder.html" title=
"class in org.apache.commons.lang.builder">ToStringBuilder
</A></CODE></FONT></TD>
625 <TD><CODE><B><A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringBuilder.html#append(java.lang.String, java.lang.Object[], boolean)">append
</A></B>(java.lang.String
fieldName,
626 java.lang.Object[]
array,
627 boolean
fullDetail)
</CODE>
630 Append to the
<code>toString
</code> an
<code>Object
</code>
633 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
634 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
635 <CODE> <A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringBuilder.html" title=
"class in org.apache.commons.lang.builder">ToStringBuilder
</A></CODE></FONT></TD>
636 <TD><CODE><B><A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringBuilder.html#append(java.lang.String, java.lang.Object, boolean)">append
</A></B>(java.lang.String
fieldName,
637 java.lang.Object
obj,
638 boolean
fullDetail)
</CODE>
641 Append to the
<code>toString
</code> an
<code>Object
</code>
644 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
645 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
646 <CODE> <A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringBuilder.html" title=
"class in org.apache.commons.lang.builder">ToStringBuilder
</A></CODE></FONT></TD>
647 <TD><CODE><B><A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringBuilder.html#append(java.lang.String, short)">append
</A></B>(java.lang.String
fieldName,
648 short
value)
</CODE>
651 Append to the
<code>toString
</code> an
<code>short
</code>
654 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
655 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
656 <CODE> <A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringBuilder.html" title=
"class in org.apache.commons.lang.builder">ToStringBuilder
</A></CODE></FONT></TD>
657 <TD><CODE><B><A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringBuilder.html#append(java.lang.String, short[])">append
</A></B>(java.lang.String
fieldName,
658 short[]
array)
</CODE>
661 Append to the
<code>toString
</code> a
<code>short
</code>
664 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
665 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
666 <CODE> <A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringBuilder.html" title=
"class in org.apache.commons.lang.builder">ToStringBuilder
</A></CODE></FONT></TD>
667 <TD><CODE><B><A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringBuilder.html#append(java.lang.String, short[], boolean)">append
</A></B>(java.lang.String
fieldName,
669 boolean
fullDetail)
</CODE>
672 Append to the
<code>toString
</code> a
<code>short
</code>
675 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
676 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
677 <CODE> <A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringBuilder.html" title=
"class in org.apache.commons.lang.builder">ToStringBuilder
</A></CODE></FONT></TD>
678 <TD><CODE><B><A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringBuilder.html#appendAsObjectToString(java.lang.Object)">appendAsObjectToString
</A></B>(java.lang.Object
object)
</CODE>
681 Appends with the same format as the default
<code>Object toString()
684 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
685 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
686 <CODE> <A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringBuilder.html" title=
"class in org.apache.commons.lang.builder">ToStringBuilder
</A></CODE></FONT></TD>
687 <TD><CODE><B><A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringBuilder.html#appendSuper(java.lang.String)">appendSuper
</A></B>(java.lang.String
superToString)
</CODE>
690 Append the
<code>toString
</code> from the superclass.
</TD>
692 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
693 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
694 <CODE> <A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringBuilder.html" title=
"class in org.apache.commons.lang.builder">ToStringBuilder
</A></CODE></FONT></TD>
695 <TD><CODE><B><A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringBuilder.html#appendToString(java.lang.String)">appendToString
</A></B>(java.lang.String
toString)
</CODE>
698 Append the
<code>toString
</code> from another object.
</TD>
700 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
701 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
702 <CODE>static
<A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringStyle.html" title=
"class in org.apache.commons.lang.builder">ToStringStyle
</A></CODE></FONT></TD>
703 <TD><CODE><B><A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringBuilder.html#getDefaultStyle()">getDefaultStyle
</A></B>()
</CODE>
706 Gets the default
<code>ToStringStyle
</code> to use.
</TD>
708 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
709 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
710 <CODE> java.lang.Object
</CODE></FONT></TD>
711 <TD><CODE><B><A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringBuilder.html#getObject()">getObject
</A></B>()
</CODE>
714 Returns the
<code>Object
</code> being output.
</TD>
716 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
717 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
718 <CODE> java.lang.StringBuffer
</CODE></FONT></TD>
719 <TD><CODE><B><A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringBuilder.html#getStringBuffer()">getStringBuffer
</A></B>()
</CODE>
722 Gets the
<code>StringBuffer
</code> being populated.
</TD>
724 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
725 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
726 <CODE> <A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringStyle.html" title=
"class in org.apache.commons.lang.builder">ToStringStyle
</A></CODE></FONT></TD>
727 <TD><CODE><B><A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringBuilder.html#getStyle()">getStyle
</A></B>()
</CODE>
730 Gets the
<code>ToStringStyle
</code> being used.
</TD>
732 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
733 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
734 <CODE>static
java.lang.String
</CODE></FONT></TD>
735 <TD><CODE><B><A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringBuilder.html#reflectionToString(java.lang.Object)">reflectionToString
</A></B>(java.lang.Object
object)
</CODE>
738 Forwards to
<code>ReflectionToStringBuilder
</code>.
</TD>
740 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
741 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
742 <CODE>static
java.lang.String
</CODE></FONT></TD>
743 <TD><CODE><B><A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringBuilder.html#reflectionToString(java.lang.Object, org.apache.commons.lang.builder.ToStringStyle)">reflectionToString
</A></B>(java.lang.Object
object,
744 <A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringStyle.html" title=
"class in org.apache.commons.lang.builder">ToStringStyle
</A> style)
</CODE>
747 Forwards to
<code>ReflectionToStringBuilder
</code>.
</TD>
749 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
750 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
751 <CODE>static
java.lang.String
</CODE></FONT></TD>
752 <TD><CODE><B><A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringBuilder.html#reflectionToString(java.lang.Object, org.apache.commons.lang.builder.ToStringStyle, boolean)">reflectionToString
</A></B>(java.lang.Object
object,
753 <A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringStyle.html" title=
"class in org.apache.commons.lang.builder">ToStringStyle
</A> style,
754 boolean
outputTransients)
</CODE>
757 Forwards to
<code>ReflectionToStringBuilder
</code>.
</TD>
759 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
760 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
761 <CODE>static
java.lang.String
</CODE></FONT></TD>
762 <TD><CODE><B><A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringBuilder.html#reflectionToString(java.lang.Object, org.apache.commons.lang.builder.ToStringStyle, boolean, java.lang.Class)">reflectionToString
</A></B>(java.lang.Object
object,
763 <A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringStyle.html" title=
"class in org.apache.commons.lang.builder">ToStringStyle
</A> style,
764 boolean
outputTransients,
765 java.lang.Class
reflectUpToClass)
</CODE>
768 Forwards to
<code>ReflectionToStringBuilder
</code>.
</TD>
770 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
771 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
772 <CODE>static
void
</CODE></FONT></TD>
773 <TD><CODE><B><A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringBuilder.html#setDefaultStyle(org.apache.commons.lang.builder.ToStringStyle)">setDefaultStyle
</A></B>(
<A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringStyle.html" title=
"class in org.apache.commons.lang.builder">ToStringStyle
</A> style)
</CODE>
776 Sets the default
<code>ToStringStyle
</code> to use.
</TD>
778 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
779 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
780 <CODE> java.lang.String
</CODE></FONT></TD>
781 <TD><CODE><B><A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringBuilder.html#toString()">toString
</A></B>()
</CODE>
784 Returns the built
<code>toString
</code>.
</TD>
787 <A NAME=
"methods_inherited_from_class_java.lang.Object"><!-- --></A>
788 <TABLE BORDER=
"1" WIDTH=
"100%" CELLPADDING=
"3" CELLSPACING=
"0" SUMMARY=
"">
789 <TR BGCOLOR=
"#EEEEFF" CLASS=
"TableSubHeadingColor">
790 <TD><B>Methods inherited from class java.lang.Object
</B></TD>
792 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
793 <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
</CODE></TD>
799 <!-- ============ FIELD DETAIL =========== -->
802 <!-- ========= CONSTRUCTOR DETAIL ======== -->
804 <A NAME=
"constructor_detail"><!-- --></A>
805 <TABLE BORDER=
"1" WIDTH=
"100%" CELLPADDING=
"3" CELLSPACING=
"0" SUMMARY=
"">
806 <TR BGCOLOR=
"#CCCCFF" CLASS=
"TableHeadingColor">
807 <TD COLSPAN=
1><FONT SIZE=
"+2">
808 <B>Constructor Detail
</B></FONT></TD>
812 <A NAME=
"ToStringBuilder(java.lang.Object)"><!-- --></A><H3>
815 public
<B>ToStringBuilder
</B>(java.lang.Object
object)
</PRE>
817 <DD><p>Constructor for
<code>ToStringBuilder
</code>.
</p>
819 <p>This constructor outputs using the default style set with
820 <code>setDefaultStyle
</code>.
</p>
822 <DT><B>Parameters:
</B><DD><CODE>object
</CODE> - the Object to build a
<code>toString
</code> for
824 <DD><CODE>java.lang.IllegalArgumentException
</CODE> - if the Object passed in is
825 <code>null
</code></DL>
828 <A NAME=
"ToStringBuilder(java.lang.Object, org.apache.commons.lang.builder.ToStringStyle)"><!-- --></A><H3>
831 public
<B>ToStringBuilder
</B>(java.lang.Object
object,
832 <A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringStyle.html" title=
"class in org.apache.commons.lang.builder">ToStringStyle
</A> style)
</PRE>
834 <DD><p>Constructor for
<code>ToStringBuilder
</code> specifying the
837 <p>If the style is
<code>null
</code>, the default style is used.
</p>
839 <DT><B>Parameters:
</B><DD><CODE>object
</CODE> - the Object to build a
<code>toString
</code> for
<DD><CODE>style
</CODE> - the style of the
<code>toString
</code> to create,
840 may be
<code>null
</code>
842 <DD><CODE>java.lang.IllegalArgumentException
</CODE> - if the Object passed in is
843 <code>null
</code></DL>
846 <A NAME=
"ToStringBuilder(java.lang.Object, org.apache.commons.lang.builder.ToStringStyle, java.lang.StringBuffer)"><!-- --></A><H3>
849 public
<B>ToStringBuilder
</B>(java.lang.Object
object,
850 <A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringStyle.html" title=
"class in org.apache.commons.lang.builder">ToStringStyle
</A> style,
851 java.lang.StringBuffer
buffer)
</PRE>
853 <DD><p>Constructor for
<code>ToStringBuilder
</code>.
</p>
855 <p>If the style is
<code>null
</code>, the default style is used.
</p>
857 <p>If the buffer is
<code>null
</code>, a new one is created.
</p>
859 <DT><B>Parameters:
</B><DD><CODE>object
</CODE> - the Object to build a
<code>toString
</code> for
<DD><CODE>style
</CODE> - the style of the
<code>toString
</code> to create,
860 may be
<code>null
</code><DD><CODE>buffer
</CODE> - the
<code>StringBuffer
</code> to populate, may be
861 <code>null
</code></DL>
863 <!-- ============ METHOD DETAIL ========== -->
865 <A NAME=
"method_detail"><!-- --></A>
866 <TABLE BORDER=
"1" WIDTH=
"100%" CELLPADDING=
"3" CELLSPACING=
"0" SUMMARY=
"">
867 <TR BGCOLOR=
"#CCCCFF" CLASS=
"TableHeadingColor">
868 <TD COLSPAN=
1><FONT SIZE=
"+2">
869 <B>Method Detail
</B></FONT></TD>
873 <A NAME=
"getDefaultStyle()"><!-- --></A><H3>
876 public static
<A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringStyle.html" title=
"class in org.apache.commons.lang.builder">ToStringStyle
</A> <B>getDefaultStyle
</B>()
</PRE>
878 <DD><p>Gets the default
<code>ToStringStyle
</code> to use.
</p>
880 <p>This could allow the
<code>ToStringStyle
</code> to be
881 controlled for an entire application with one call.
</p>
883 <p>This might be used to have a verbose
884 <code>ToStringStyle
</code> during development and a compact
885 <code>ToStringStyle
</code> in production.
</p>
889 <DT><B>Returns:
</B><DD>the default
<code>ToStringStyle
</code></DL>
894 <A NAME=
"reflectionToString(java.lang.Object)"><!-- --></A><H3>
895 reflectionToString
</H3>
897 public static java.lang.String
<B>reflectionToString
</B>(java.lang.Object
object)
</PRE>
899 <DD><p>Forwards to
<code>ReflectionToStringBuilder
</code>.
</p>
902 <DT><B>Parameters:
</B><DD><CODE>object
</CODE> - the Object to be output
903 <DT><B>Returns:
</B><DD>the String result
<DT><B>See Also:
</B><DD><A HREF=
"../../../../../org/apache/commons/lang/builder/ReflectionToStringBuilder.html#toString(java.lang.Object)"><CODE>ReflectionToStringBuilder.toString(Object)
</CODE></A></DL>
908 <A NAME=
"reflectionToString(java.lang.Object, org.apache.commons.lang.builder.ToStringStyle)"><!-- --></A><H3>
909 reflectionToString
</H3>
911 public static java.lang.String
<B>reflectionToString
</B>(java.lang.Object
object,
912 <A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringStyle.html" title=
"class in org.apache.commons.lang.builder">ToStringStyle
</A> style)
</PRE>
914 <DD><p>Forwards to
<code>ReflectionToStringBuilder
</code>.
</p>
917 <DT><B>Parameters:
</B><DD><CODE>object
</CODE> - the Object to be output
<DD><CODE>style
</CODE> - the style of the
<code>toString
</code> to create, may be
<code>null
</code>
918 <DT><B>Returns:
</B><DD>the String result
<DT><B>See Also:
</B><DD><A HREF=
"../../../../../org/apache/commons/lang/builder/ReflectionToStringBuilder.html#toString(java.lang.Object, org.apache.commons.lang.builder.ToStringStyle)"><CODE>ReflectionToStringBuilder.toString(Object,ToStringStyle)
</CODE></A></DL>
923 <A NAME=
"reflectionToString(java.lang.Object, org.apache.commons.lang.builder.ToStringStyle, boolean)"><!-- --></A><H3>
924 reflectionToString
</H3>
926 public static java.lang.String
<B>reflectionToString
</B>(java.lang.Object
object,
927 <A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringStyle.html" title=
"class in org.apache.commons.lang.builder">ToStringStyle
</A> style,
928 boolean
outputTransients)
</PRE>
930 <DD><p>Forwards to
<code>ReflectionToStringBuilder
</code>.
</p>
933 <DT><B>Parameters:
</B><DD><CODE>object
</CODE> - the Object to be output
<DD><CODE>style
</CODE> - the style of the
<code>toString
</code> to create, may be
<code>null
</code><DD><CODE>outputTransients
</CODE> - whether to include transient fields
934 <DT><B>Returns:
</B><DD>the String result
<DT><B>See Also:
</B><DD><A HREF=
"../../../../../org/apache/commons/lang/builder/ReflectionToStringBuilder.html#toString(java.lang.Object, org.apache.commons.lang.builder.ToStringStyle, boolean)"><CODE>ReflectionToStringBuilder.toString(Object,ToStringStyle,boolean)
</CODE></A></DL>
939 <A NAME=
"reflectionToString(java.lang.Object, org.apache.commons.lang.builder.ToStringStyle, boolean, java.lang.Class)"><!-- --></A><H3>
940 reflectionToString
</H3>
942 public static java.lang.String
<B>reflectionToString
</B>(java.lang.Object
object,
943 <A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringStyle.html" title=
"class in org.apache.commons.lang.builder">ToStringStyle
</A> style,
944 boolean
outputTransients,
945 java.lang.Class
reflectUpToClass)
</PRE>
947 <DD><p>Forwards to
<code>ReflectionToStringBuilder
</code>.
</p>
950 <DT><B>Parameters:
</B><DD><CODE>object
</CODE> - the Object to be output
<DD><CODE>style
</CODE> - the style of the
<code>toString
</code> to create, may be
<code>null
</code><DD><CODE>outputTransients
</CODE> - whether to include transient fields
<DD><CODE>reflectUpToClass
</CODE> - the superclass to reflect up to (inclusive), may be
<code>null
</code>
951 <DT><B>Returns:
</B><DD>the String result
<DT><B>Since:
</B></DT>
953 <DT><B>See Also:
</B><DD><A HREF=
"../../../../../org/apache/commons/lang/builder/ReflectionToStringBuilder.html#toString(java.lang.Object, org.apache.commons.lang.builder.ToStringStyle, boolean, boolean, java.lang.Class)"><CODE>ReflectionToStringBuilder.toString(Object,ToStringStyle,boolean,boolean,Class)
</CODE></A></DL>
958 <A NAME=
"setDefaultStyle(org.apache.commons.lang.builder.ToStringStyle)"><!-- --></A><H3>
961 public static void
<B>setDefaultStyle
</B>(
<A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringStyle.html" title=
"class in org.apache.commons.lang.builder">ToStringStyle
</A> style)
</PRE>
963 <DD><p>Sets the default
<code>ToStringStyle
</code> to use.
</p>
966 <DT><B>Parameters:
</B><DD><CODE>style
</CODE> - the default
<code>ToStringStyle
</code>
968 <DD><CODE>java.lang.IllegalArgumentException
</CODE> - if the style is
<code>null
</code></DL>
973 <A NAME=
"append(boolean)"><!-- --></A><H3>
976 public
<A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringBuilder.html" title=
"class in org.apache.commons.lang.builder">ToStringBuilder
</A> <B>append
</B>(boolean
value)
</PRE>
978 <DD><p>Append to the
<code>toString
</code> a
<code>boolean
</code>
982 <DT><B>Parameters:
</B><DD><CODE>value
</CODE> - the value to add to the
<code>toString
</code>
983 <DT><B>Returns:
</B><DD>this
</DL>
988 <A NAME=
"append(boolean[])"><!-- --></A><H3>
991 public
<A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringBuilder.html" title=
"class in org.apache.commons.lang.builder">ToStringBuilder
</A> <B>append
</B>(boolean[]
array)
</PRE>
993 <DD><p>Append to the
<code>toString
</code> a
<code>boolean
</code>
997 <DT><B>Parameters:
</B><DD><CODE>array
</CODE> - the array to add to the
<code>toString
</code>
998 <DT><B>Returns:
</B><DD>this
</DL>
1003 <A NAME=
"append(byte)"><!-- --></A><H3>
1006 public
<A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringBuilder.html" title=
"class in org.apache.commons.lang.builder">ToStringBuilder
</A> <B>append
</B>(byte
value)
</PRE>
1008 <DD><p>Append to the
<code>toString
</code> a
<code>byte
</code>
1012 <DT><B>Parameters:
</B><DD><CODE>value
</CODE> - the value to add to the
<code>toString
</code>
1013 <DT><B>Returns:
</B><DD>this
</DL>
1018 <A NAME=
"append(byte[])"><!-- --></A><H3>
1021 public
<A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringBuilder.html" title=
"class in org.apache.commons.lang.builder">ToStringBuilder
</A> <B>append
</B>(byte[]
array)
</PRE>
1023 <DD><p>Append to the
<code>toString
</code> a
<code>byte
</code>
1027 <DT><B>Parameters:
</B><DD><CODE>array
</CODE> - the array to add to the
<code>toString
</code>
1028 <DT><B>Returns:
</B><DD>this
</DL>
1033 <A NAME=
"append(char)"><!-- --></A><H3>
1036 public
<A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringBuilder.html" title=
"class in org.apache.commons.lang.builder">ToStringBuilder
</A> <B>append
</B>(char
value)
</PRE>
1038 <DD><p>Append to the
<code>toString
</code> a
<code>char
</code>
1042 <DT><B>Parameters:
</B><DD><CODE>value
</CODE> - the value to add to the
<code>toString
</code>
1043 <DT><B>Returns:
</B><DD>this
</DL>
1048 <A NAME=
"append(char[])"><!-- --></A><H3>
1051 public
<A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringBuilder.html" title=
"class in org.apache.commons.lang.builder">ToStringBuilder
</A> <B>append
</B>(char[]
array)
</PRE>
1053 <DD><p>Append to the
<code>toString
</code> a
<code>char
</code>
1057 <DT><B>Parameters:
</B><DD><CODE>array
</CODE> - the array to add to the
<code>toString
</code>
1058 <DT><B>Returns:
</B><DD>this
</DL>
1063 <A NAME=
"append(double)"><!-- --></A><H3>
1066 public
<A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringBuilder.html" title=
"class in org.apache.commons.lang.builder">ToStringBuilder
</A> <B>append
</B>(double
value)
</PRE>
1068 <DD><p>Append to the
<code>toString
</code> a
<code>double
</code>
1072 <DT><B>Parameters:
</B><DD><CODE>value
</CODE> - the value to add to the
<code>toString
</code>
1073 <DT><B>Returns:
</B><DD>this
</DL>
1078 <A NAME=
"append(double[])"><!-- --></A><H3>
1081 public
<A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringBuilder.html" title=
"class in org.apache.commons.lang.builder">ToStringBuilder
</A> <B>append
</B>(double[]
array)
</PRE>
1083 <DD><p>Append to the
<code>toString
</code> a
<code>double
</code>
1087 <DT><B>Parameters:
</B><DD><CODE>array
</CODE> - the array to add to the
<code>toString
</code>
1088 <DT><B>Returns:
</B><DD>this
</DL>
1093 <A NAME=
"append(float)"><!-- --></A><H3>
1096 public
<A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringBuilder.html" title=
"class in org.apache.commons.lang.builder">ToStringBuilder
</A> <B>append
</B>(float
value)
</PRE>
1098 <DD><p>Append to the
<code>toString
</code> a
<code>float
</code>
1102 <DT><B>Parameters:
</B><DD><CODE>value
</CODE> - the value to add to the
<code>toString
</code>
1103 <DT><B>Returns:
</B><DD>this
</DL>
1108 <A NAME=
"append(float[])"><!-- --></A><H3>
1111 public
<A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringBuilder.html" title=
"class in org.apache.commons.lang.builder">ToStringBuilder
</A> <B>append
</B>(float[]
array)
</PRE>
1113 <DD><p>Append to the
<code>toString
</code> a
<code>float
</code>
1117 <DT><B>Parameters:
</B><DD><CODE>array
</CODE> - the array to add to the
<code>toString
</code>
1118 <DT><B>Returns:
</B><DD>this
</DL>
1123 <A NAME=
"append(int)"><!-- --></A><H3>
1126 public
<A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringBuilder.html" title=
"class in org.apache.commons.lang.builder">ToStringBuilder
</A> <B>append
</B>(int
value)
</PRE>
1128 <DD><p>Append to the
<code>toString
</code> an
<code>int
</code>
1132 <DT><B>Parameters:
</B><DD><CODE>value
</CODE> - the value to add to the
<code>toString
</code>
1133 <DT><B>Returns:
</B><DD>this
</DL>
1138 <A NAME=
"append(int[])"><!-- --></A><H3>
1141 public
<A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringBuilder.html" title=
"class in org.apache.commons.lang.builder">ToStringBuilder
</A> <B>append
</B>(int[]
array)
</PRE>
1143 <DD><p>Append to the
<code>toString
</code> an
<code>int
</code>
1147 <DT><B>Parameters:
</B><DD><CODE>array
</CODE> - the array to add to the
<code>toString
</code>
1148 <DT><B>Returns:
</B><DD>this
</DL>
1153 <A NAME=
"append(long)"><!-- --></A><H3>
1156 public
<A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringBuilder.html" title=
"class in org.apache.commons.lang.builder">ToStringBuilder
</A> <B>append
</B>(long
value)
</PRE>
1158 <DD><p>Append to the
<code>toString
</code> a
<code>long
</code>
1162 <DT><B>Parameters:
</B><DD><CODE>value
</CODE> - the value to add to the
<code>toString
</code>
1163 <DT><B>Returns:
</B><DD>this
</DL>
1168 <A NAME=
"append(long[])"><!-- --></A><H3>
1171 public
<A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringBuilder.html" title=
"class in org.apache.commons.lang.builder">ToStringBuilder
</A> <B>append
</B>(long[]
array)
</PRE>
1173 <DD><p>Append to the
<code>toString
</code> a
<code>long
</code>
1177 <DT><B>Parameters:
</B><DD><CODE>array
</CODE> - the array to add to the
<code>toString
</code>
1178 <DT><B>Returns:
</B><DD>this
</DL>
1183 <A NAME=
"append(java.lang.Object)"><!-- --></A><H3>
1186 public
<A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringBuilder.html" title=
"class in org.apache.commons.lang.builder">ToStringBuilder
</A> <B>append
</B>(java.lang.Object
obj)
</PRE>
1188 <DD><p>Append to the
<code>toString
</code> an
<code>Object
</code>
1192 <DT><B>Parameters:
</B><DD><CODE>obj
</CODE> - the value to add to the
<code>toString
</code>
1193 <DT><B>Returns:
</B><DD>this
</DL>
1198 <A NAME=
"append(java.lang.Object[])"><!-- --></A><H3>
1201 public
<A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringBuilder.html" title=
"class in org.apache.commons.lang.builder">ToStringBuilder
</A> <B>append
</B>(java.lang.Object[]
array)
</PRE>
1203 <DD><p>Append to the
<code>toString
</code> an
<code>Object
</code>
1207 <DT><B>Parameters:
</B><DD><CODE>array
</CODE> - the array to add to the
<code>toString
</code>
1208 <DT><B>Returns:
</B><DD>this
</DL>
1213 <A NAME=
"append(short)"><!-- --></A><H3>
1216 public
<A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringBuilder.html" title=
"class in org.apache.commons.lang.builder">ToStringBuilder
</A> <B>append
</B>(short
value)
</PRE>
1218 <DD><p>Append to the
<code>toString
</code> a
<code>short
</code>
1222 <DT><B>Parameters:
</B><DD><CODE>value
</CODE> - the value to add to the
<code>toString
</code>
1223 <DT><B>Returns:
</B><DD>this
</DL>
1228 <A NAME=
"append(short[])"><!-- --></A><H3>
1231 public
<A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringBuilder.html" title=
"class in org.apache.commons.lang.builder">ToStringBuilder
</A> <B>append
</B>(short[]
array)
</PRE>
1233 <DD><p>Append to the
<code>toString
</code> a
<code>short
</code>
1237 <DT><B>Parameters:
</B><DD><CODE>array
</CODE> - the array to add to the
<code>toString
</code>
1238 <DT><B>Returns:
</B><DD>this
</DL>
1243 <A NAME=
"append(java.lang.String, boolean)"><!-- --></A><H3>
1246 public
<A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringBuilder.html" title=
"class in org.apache.commons.lang.builder">ToStringBuilder
</A> <B>append
</B>(java.lang.String
fieldName,
1247 boolean
value)
</PRE>
1249 <DD><p>Append to the
<code>toString
</code> a
<code>boolean
</code>
1253 <DT><B>Parameters:
</B><DD><CODE>fieldName
</CODE> - the field name
<DD><CODE>value
</CODE> - the value to add to the
<code>toString
</code>
1254 <DT><B>Returns:
</B><DD>this
</DL>
1259 <A NAME=
"append(java.lang.String, boolean[])"><!-- --></A><H3>
1262 public
<A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringBuilder.html" title=
"class in org.apache.commons.lang.builder">ToStringBuilder
</A> <B>append
</B>(java.lang.String
fieldName,
1263 boolean[]
array)
</PRE>
1265 <DD><p>Append to the
<code>toString
</code> a
<code>boolean
</code>
1269 <DT><B>Parameters:
</B><DD><CODE>fieldName
</CODE> - the field name
<DD><CODE>array
</CODE> - the array to add to the
<code>hashCode
</code>
1270 <DT><B>Returns:
</B><DD>this
</DL>
1275 <A NAME=
"append(java.lang.String, boolean[], boolean)"><!-- --></A><H3>
1278 public
<A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringBuilder.html" title=
"class in org.apache.commons.lang.builder">ToStringBuilder
</A> <B>append
</B>(java.lang.String
fieldName,
1279 boolean[]
array,
1280 boolean
fullDetail)
</PRE>
1282 <DD><p>Append to the
<code>toString
</code> a
<code>boolean
</code>
1285 <p>A boolean parameter controls the level of detail to show.
1286 Setting
<code>true
</code> will output the array in full. Setting
1287 <code>false
</code> will output a summary, typically the size of
1291 <DT><B>Parameters:
</B><DD><CODE>fieldName
</CODE> - the field name
<DD><CODE>array
</CODE> - the array to add to the
<code>toString
</code><DD><CODE>fullDetail
</CODE> -
<code>true
</code> for detail,
<code>false
</code>
1293 <DT><B>Returns:
</B><DD>this
</DL>
1298 <A NAME=
"append(java.lang.String, byte)"><!-- --></A><H3>
1301 public
<A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringBuilder.html" title=
"class in org.apache.commons.lang.builder">ToStringBuilder
</A> <B>append
</B>(java.lang.String
fieldName,
1302 byte
value)
</PRE>
1304 <DD><p>Append to the
<code>toString
</code> an
<code>byte
</code>
1308 <DT><B>Parameters:
</B><DD><CODE>fieldName
</CODE> - the field name
<DD><CODE>value
</CODE> - the value to add to the
<code>toString
</code>
1309 <DT><B>Returns:
</B><DD>this
</DL>
1314 <A NAME=
"append(java.lang.String, byte[])"><!-- --></A><H3>
1317 public
<A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringBuilder.html" title=
"class in org.apache.commons.lang.builder">ToStringBuilder
</A> <B>append
</B>(java.lang.String
fieldName,
1318 byte[]
array)
</PRE>
1320 <DD><p>Append to the
<code>toString
</code> a
<code>byte
</code> array.
</p>
1323 <DT><B>Parameters:
</B><DD><CODE>fieldName
</CODE> - the field name
<DD><CODE>array
</CODE> - the array to add to the
<code>toString
</code>
1324 <DT><B>Returns:
</B><DD>this
</DL>
1329 <A NAME=
"append(java.lang.String, byte[], boolean)"><!-- --></A><H3>
1332 public
<A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringBuilder.html" title=
"class in org.apache.commons.lang.builder">ToStringBuilder
</A> <B>append
</B>(java.lang.String
fieldName,
1334 boolean
fullDetail)
</PRE>
1336 <DD><p>Append to the
<code>toString
</code> a
<code>byte
</code>
1339 <p>A boolean parameter controls the level of detail to show.
1340 Setting
<code>true
</code> will output the array in full. Setting
1341 <code>false
</code> will output a summary, typically the size of
1345 <DT><B>Parameters:
</B><DD><CODE>fieldName
</CODE> - the field name
<DD><CODE>array
</CODE> - the array to add to the
<code>toString
</code><DD><CODE>fullDetail
</CODE> -
<code>true
</code> for detail,
<code>false
</code>
1347 <DT><B>Returns:
</B><DD>this
</DL>
1352 <A NAME=
"append(java.lang.String, char)"><!-- --></A><H3>
1355 public
<A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringBuilder.html" title=
"class in org.apache.commons.lang.builder">ToStringBuilder
</A> <B>append
</B>(java.lang.String
fieldName,
1356 char
value)
</PRE>
1358 <DD><p>Append to the
<code>toString
</code> a
<code>char
</code>
1362 <DT><B>Parameters:
</B><DD><CODE>fieldName
</CODE> - the field name
<DD><CODE>value
</CODE> - the value to add to the
<code>toString
</code>
1363 <DT><B>Returns:
</B><DD>this
</DL>
1368 <A NAME=
"append(java.lang.String, char[])"><!-- --></A><H3>
1371 public
<A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringBuilder.html" title=
"class in org.apache.commons.lang.builder">ToStringBuilder
</A> <B>append
</B>(java.lang.String
fieldName,
1372 char[]
array)
</PRE>
1374 <DD><p>Append to the
<code>toString
</code> a
<code>char
</code>
1378 <DT><B>Parameters:
</B><DD><CODE>fieldName
</CODE> - the field name
<DD><CODE>array
</CODE> - the array to add to the
<code>toString
</code>
1379 <DT><B>Returns:
</B><DD>this
</DL>
1384 <A NAME=
"append(java.lang.String, char[], boolean)"><!-- --></A><H3>
1387 public
<A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringBuilder.html" title=
"class in org.apache.commons.lang.builder">ToStringBuilder
</A> <B>append
</B>(java.lang.String
fieldName,
1389 boolean
fullDetail)
</PRE>
1391 <DD><p>Append to the
<code>toString
</code> a
<code>char
</code>
1394 <p>A boolean parameter controls the level of detail to show.
1395 Setting
<code>true
</code> will output the array in full. Setting
1396 <code>false
</code> will output a summary, typically the size of
1400 <DT><B>Parameters:
</B><DD><CODE>fieldName
</CODE> - the field name
<DD><CODE>array
</CODE> - the array to add to the
<code>toString
</code><DD><CODE>fullDetail
</CODE> -
<code>true
</code> for detail,
<code>false
</code>
1402 <DT><B>Returns:
</B><DD>this
</DL>
1407 <A NAME=
"append(java.lang.String, double)"><!-- --></A><H3>
1410 public
<A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringBuilder.html" title=
"class in org.apache.commons.lang.builder">ToStringBuilder
</A> <B>append
</B>(java.lang.String
fieldName,
1411 double
value)
</PRE>
1413 <DD><p>Append to the
<code>toString
</code> a
<code>double
</code>
1417 <DT><B>Parameters:
</B><DD><CODE>fieldName
</CODE> - the field name
<DD><CODE>value
</CODE> - the value to add to the
<code>toString
</code>
1418 <DT><B>Returns:
</B><DD>this
</DL>
1423 <A NAME=
"append(java.lang.String, double[])"><!-- --></A><H3>
1426 public
<A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringBuilder.html" title=
"class in org.apache.commons.lang.builder">ToStringBuilder
</A> <B>append
</B>(java.lang.String
fieldName,
1427 double[]
array)
</PRE>
1429 <DD><p>Append to the
<code>toString
</code> a
<code>double
</code>
1433 <DT><B>Parameters:
</B><DD><CODE>fieldName
</CODE> - the field name
<DD><CODE>array
</CODE> - the array to add to the
<code>toString
</code>
1434 <DT><B>Returns:
</B><DD>this
</DL>
1439 <A NAME=
"append(java.lang.String, double[], boolean)"><!-- --></A><H3>
1442 public
<A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringBuilder.html" title=
"class in org.apache.commons.lang.builder">ToStringBuilder
</A> <B>append
</B>(java.lang.String
fieldName,
1443 double[]
array,
1444 boolean
fullDetail)
</PRE>
1446 <DD><p>Append to the
<code>toString
</code> a
<code>double
</code>
1449 <p>A boolean parameter controls the level of detail to show.
1450 Setting
<code>true
</code> will output the array in full. Setting
1451 <code>false
</code> will output a summary, typically the size of
1455 <DT><B>Parameters:
</B><DD><CODE>fieldName
</CODE> - the field name
<DD><CODE>array
</CODE> - the array to add to the
<code>toString
</code><DD><CODE>fullDetail
</CODE> -
<code>true
</code> for detail,
<code>false
</code>
1457 <DT><B>Returns:
</B><DD>this
</DL>
1462 <A NAME=
"append(java.lang.String, float)"><!-- --></A><H3>
1465 public
<A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringBuilder.html" title=
"class in org.apache.commons.lang.builder">ToStringBuilder
</A> <B>append
</B>(java.lang.String
fieldName,
1466 float
value)
</PRE>
1468 <DD><p>Append to the
<code>toString
</code> an
<code>float
</code>
1472 <DT><B>Parameters:
</B><DD><CODE>fieldName
</CODE> - the field name
<DD><CODE>value
</CODE> - the value to add to the
<code>toString
</code>
1473 <DT><B>Returns:
</B><DD>this
</DL>
1478 <A NAME=
"append(java.lang.String, float[])"><!-- --></A><H3>
1481 public
<A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringBuilder.html" title=
"class in org.apache.commons.lang.builder">ToStringBuilder
</A> <B>append
</B>(java.lang.String
fieldName,
1482 float[]
array)
</PRE>
1484 <DD><p>Append to the
<code>toString
</code> a
<code>float
</code>
1488 <DT><B>Parameters:
</B><DD><CODE>fieldName
</CODE> - the field name
<DD><CODE>array
</CODE> - the array to add to the
<code>toString
</code>
1489 <DT><B>Returns:
</B><DD>this
</DL>
1494 <A NAME=
"append(java.lang.String, float[], boolean)"><!-- --></A><H3>
1497 public
<A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringBuilder.html" title=
"class in org.apache.commons.lang.builder">ToStringBuilder
</A> <B>append
</B>(java.lang.String
fieldName,
1499 boolean
fullDetail)
</PRE>
1501 <DD><p>Append to the
<code>toString
</code> a
<code>float
</code>
1504 <p>A boolean parameter controls the level of detail to show.
1505 Setting
<code>true
</code> will output the array in full. Setting
1506 <code>false
</code> will output a summary, typically the size of
1510 <DT><B>Parameters:
</B><DD><CODE>fieldName
</CODE> - the field name
<DD><CODE>array
</CODE> - the array to add to the
<code>toString
</code><DD><CODE>fullDetail
</CODE> -
<code>true
</code> for detail,
<code>false
</code>
1512 <DT><B>Returns:
</B><DD>this
</DL>
1517 <A NAME=
"append(java.lang.String, int)"><!-- --></A><H3>
1520 public
<A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringBuilder.html" title=
"class in org.apache.commons.lang.builder">ToStringBuilder
</A> <B>append
</B>(java.lang.String
fieldName,
1521 int
value)
</PRE>
1523 <DD><p>Append to the
<code>toString
</code> an
<code>int
</code>
1527 <DT><B>Parameters:
</B><DD><CODE>fieldName
</CODE> - the field name
<DD><CODE>value
</CODE> - the value to add to the
<code>toString
</code>
1528 <DT><B>Returns:
</B><DD>this
</DL>
1533 <A NAME=
"append(java.lang.String, int[])"><!-- --></A><H3>
1536 public
<A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringBuilder.html" title=
"class in org.apache.commons.lang.builder">ToStringBuilder
</A> <B>append
</B>(java.lang.String
fieldName,
1537 int[]
array)
</PRE>
1539 <DD><p>Append to the
<code>toString
</code> an
<code>int
</code>
1543 <DT><B>Parameters:
</B><DD><CODE>fieldName
</CODE> - the field name
<DD><CODE>array
</CODE> - the array to add to the
<code>toString
</code>
1544 <DT><B>Returns:
</B><DD>this
</DL>
1549 <A NAME=
"append(java.lang.String, int[], boolean)"><!-- --></A><H3>
1552 public
<A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringBuilder.html" title=
"class in org.apache.commons.lang.builder">ToStringBuilder
</A> <B>append
</B>(java.lang.String
fieldName,
1554 boolean
fullDetail)
</PRE>
1556 <DD><p>Append to the
<code>toString
</code> an
<code>int
</code>
1559 <p>A boolean parameter controls the level of detail to show.
1560 Setting
<code>true
</code> will output the array in full. Setting
1561 <code>false
</code> will output a summary, typically the size of
1565 <DT><B>Parameters:
</B><DD><CODE>fieldName
</CODE> - the field name
<DD><CODE>array
</CODE> - the array to add to the
<code>toString
</code><DD><CODE>fullDetail
</CODE> -
<code>true
</code> for detail,
<code>false
</code>
1567 <DT><B>Returns:
</B><DD>this
</DL>
1572 <A NAME=
"append(java.lang.String, long)"><!-- --></A><H3>
1575 public
<A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringBuilder.html" title=
"class in org.apache.commons.lang.builder">ToStringBuilder
</A> <B>append
</B>(java.lang.String
fieldName,
1576 long
value)
</PRE>
1578 <DD><p>Append to the
<code>toString
</code> a
<code>long
</code>
1582 <DT><B>Parameters:
</B><DD><CODE>fieldName
</CODE> - the field name
<DD><CODE>value
</CODE> - the value to add to the
<code>toString
</code>
1583 <DT><B>Returns:
</B><DD>this
</DL>
1588 <A NAME=
"append(java.lang.String, long[])"><!-- --></A><H3>
1591 public
<A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringBuilder.html" title=
"class in org.apache.commons.lang.builder">ToStringBuilder
</A> <B>append
</B>(java.lang.String
fieldName,
1592 long[]
array)
</PRE>
1594 <DD><p>Append to the
<code>toString
</code> a
<code>long
</code>
1598 <DT><B>Parameters:
</B><DD><CODE>fieldName
</CODE> - the field name
<DD><CODE>array
</CODE> - the array to add to the
<code>toString
</code>
1599 <DT><B>Returns:
</B><DD>this
</DL>
1604 <A NAME=
"append(java.lang.String, long[], boolean)"><!-- --></A><H3>
1607 public
<A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringBuilder.html" title=
"class in org.apache.commons.lang.builder">ToStringBuilder
</A> <B>append
</B>(java.lang.String
fieldName,
1609 boolean
fullDetail)
</PRE>
1611 <DD><p>Append to the
<code>toString
</code> a
<code>long
</code>
1614 <p>A boolean parameter controls the level of detail to show.
1615 Setting
<code>true
</code> will output the array in full. Setting
1616 <code>false
</code> will output a summary, typically the size of
1620 <DT><B>Parameters:
</B><DD><CODE>fieldName
</CODE> - the field name
<DD><CODE>array
</CODE> - the array to add to the
<code>toString
</code><DD><CODE>fullDetail
</CODE> -
<code>true
</code> for detail,
<code>false
</code>
1622 <DT><B>Returns:
</B><DD>this
</DL>
1627 <A NAME=
"append(java.lang.String, java.lang.Object)"><!-- --></A><H3>
1630 public
<A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringBuilder.html" title=
"class in org.apache.commons.lang.builder">ToStringBuilder
</A> <B>append
</B>(java.lang.String
fieldName,
1631 java.lang.Object
obj)
</PRE>
1633 <DD><p>Append to the
<code>toString
</code> an
<code>Object
</code>
1637 <DT><B>Parameters:
</B><DD><CODE>fieldName
</CODE> - the field name
<DD><CODE>obj
</CODE> - the value to add to the
<code>toString
</code>
1638 <DT><B>Returns:
</B><DD>this
</DL>
1643 <A NAME=
"append(java.lang.String, java.lang.Object, boolean)"><!-- --></A><H3>
1646 public
<A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringBuilder.html" title=
"class in org.apache.commons.lang.builder">ToStringBuilder
</A> <B>append
</B>(java.lang.String
fieldName,
1647 java.lang.Object
obj,
1648 boolean
fullDetail)
</PRE>
1650 <DD><p>Append to the
<code>toString
</code> an
<code>Object
</code>
1654 <DT><B>Parameters:
</B><DD><CODE>fieldName
</CODE> - the field name
<DD><CODE>obj
</CODE> - the value to add to the
<code>toString
</code><DD><CODE>fullDetail
</CODE> -
<code>true
</code> for detail,
1655 <code>false
</code> for summary info
1656 <DT><B>Returns:
</B><DD>this
</DL>
1661 <A NAME=
"append(java.lang.String, java.lang.Object[])"><!-- --></A><H3>
1664 public
<A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringBuilder.html" title=
"class in org.apache.commons.lang.builder">ToStringBuilder
</A> <B>append
</B>(java.lang.String
fieldName,
1665 java.lang.Object[]
array)
</PRE>
1667 <DD><p>Append to the
<code>toString
</code> an
<code>Object
</code>
1671 <DT><B>Parameters:
</B><DD><CODE>fieldName
</CODE> - the field name
<DD><CODE>array
</CODE> - the array to add to the
<code>toString
</code>
1672 <DT><B>Returns:
</B><DD>this
</DL>
1677 <A NAME=
"append(java.lang.String, java.lang.Object[], boolean)"><!-- --></A><H3>
1680 public
<A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringBuilder.html" title=
"class in org.apache.commons.lang.builder">ToStringBuilder
</A> <B>append
</B>(java.lang.String
fieldName,
1681 java.lang.Object[]
array,
1682 boolean
fullDetail)
</PRE>
1684 <DD><p>Append to the
<code>toString
</code> an
<code>Object
</code>
1687 <p>A boolean parameter controls the level of detail to show.
1688 Setting
<code>true
</code> will output the array in full. Setting
1689 <code>false
</code> will output a summary, typically the size of
1693 <DT><B>Parameters:
</B><DD><CODE>fieldName
</CODE> - the field name
<DD><CODE>array
</CODE> - the array to add to the
<code>toString
</code><DD><CODE>fullDetail
</CODE> -
<code>true
</code> for detail,
<code>false
</code>
1695 <DT><B>Returns:
</B><DD>this
</DL>
1700 <A NAME=
"append(java.lang.String, short)"><!-- --></A><H3>
1703 public
<A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringBuilder.html" title=
"class in org.apache.commons.lang.builder">ToStringBuilder
</A> <B>append
</B>(java.lang.String
fieldName,
1704 short
value)
</PRE>
1706 <DD><p>Append to the
<code>toString
</code> an
<code>short
</code>
1710 <DT><B>Parameters:
</B><DD><CODE>fieldName
</CODE> - the field name
<DD><CODE>value
</CODE> - the value to add to the
<code>toString
</code>
1711 <DT><B>Returns:
</B><DD>this
</DL>
1716 <A NAME=
"append(java.lang.String, short[])"><!-- --></A><H3>
1719 public
<A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringBuilder.html" title=
"class in org.apache.commons.lang.builder">ToStringBuilder
</A> <B>append
</B>(java.lang.String
fieldName,
1720 short[]
array)
</PRE>
1722 <DD><p>Append to the
<code>toString
</code> a
<code>short
</code>
1726 <DT><B>Parameters:
</B><DD><CODE>fieldName
</CODE> - the field name
<DD><CODE>array
</CODE> - the array to add to the
<code>toString
</code>
1727 <DT><B>Returns:
</B><DD>this
</DL>
1732 <A NAME=
"append(java.lang.String, short[], boolean)"><!-- --></A><H3>
1735 public
<A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringBuilder.html" title=
"class in org.apache.commons.lang.builder">ToStringBuilder
</A> <B>append
</B>(java.lang.String
fieldName,
1737 boolean
fullDetail)
</PRE>
1739 <DD><p>Append to the
<code>toString
</code> a
<code>short
</code>
1742 <p>A boolean parameter controls the level of detail to show.
1743 Setting
<code>true
</code> will output the array in full. Setting
1744 <code>false
</code> will output a summary, typically the size of
1748 <DT><B>Parameters:
</B><DD><CODE>fieldName
</CODE> - the field name
<DD><CODE>array
</CODE> - the array to add to the
<code>toString
</code><DD><CODE>fullDetail
</CODE> -
<code>true
</code> for detail,
<code>false
</code>
1750 <DT><B>Returns:
</B><DD>this
</DL>
1755 <A NAME=
"appendAsObjectToString(java.lang.Object)"><!-- --></A><H3>
1756 appendAsObjectToString
</H3>
1758 public
<A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringBuilder.html" title=
"class in org.apache.commons.lang.builder">ToStringBuilder
</A> <B>appendAsObjectToString
</B>(java.lang.Object
object)
</PRE>
1760 <DD><p>Appends with the same format as the default
<code>Object toString()
1761 </code> method. Appends the class name followed by
1762 <CODE>System.identityHashCode(java.lang.Object)
</CODE>.
</p>
1765 <DT><B>Parameters:
</B><DD><CODE>object
</CODE> - the
<code>Object
</code> whose class name and id to output
1766 <DT><B>Returns:
</B><DD>this
<DT><B>Since:
</B></DT>
1773 <A NAME=
"appendSuper(java.lang.String)"><!-- --></A><H3>
1776 public
<A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringBuilder.html" title=
"class in org.apache.commons.lang.builder">ToStringBuilder
</A> <B>appendSuper
</B>(java.lang.String
superToString)
</PRE>
1778 <DD><p>Append the
<code>toString
</code> from the superclass.
</p>
1780 <p>This method assumes that the superclass uses the same
<code>ToStringStyle
</code>
1783 <p>If
<code>superToString
</code> is
<code>null
</code>, no change is made.
</p>
1786 <DT><B>Parameters:
</B><DD><CODE>superToString
</CODE> - the result of
<code>super.toString()
</code>
1787 <DT><B>Returns:
</B><DD>this
<DT><B>Since:
</B></DT>
1794 <A NAME=
"appendToString(java.lang.String)"><!-- --></A><H3>
1797 public
<A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringBuilder.html" title=
"class in org.apache.commons.lang.builder">ToStringBuilder
</A> <B>appendToString
</B>(java.lang.String
toString)
</PRE>
1799 <DD><p>Append the
<code>toString
</code> from another object.
</p>
1801 <p>This method is useful where a class delegates most of the implementation of
1802 its properties to another class. You can then call
<code>toString()
</code> on
1803 the other class and pass the result into this method.
</p>
1806 private AnotherObject delegate;
1807 private String fieldInThisClass;
1809 public String toString() {
1810 return new ToStringBuilder(this).
1811 appendToString(delegate.toString()).
1812 append(fieldInThisClass).
1816 <p>This method assumes that the other object uses the same
<code>ToStringStyle
</code>
1819 <p>If the
<code>toString
</code> is
<code>null
</code>, no change is made.
</p>
1822 <DT><B>Parameters:
</B><DD><CODE>toString
</CODE> - the result of
<code>toString()
</code> on another object
1823 <DT><B>Returns:
</B><DD>this
<DT><B>Since:
</B></DT>
1830 <A NAME=
"getObject()"><!-- --></A><H3>
1833 public java.lang.Object
<B>getObject
</B>()
</PRE>
1835 <DD><p>Returns the
<code>Object
</code> being output.
</p>
1839 <DT><B>Returns:
</B><DD>The object being output.
<DT><B>Since:
</B></DT>
1846 <A NAME=
"getStringBuffer()"><!-- --></A><H3>
1847 getStringBuffer
</H3>
1849 public java.lang.StringBuffer
<B>getStringBuffer
</B>()
</PRE>
1851 <DD><p>Gets the
<code>StringBuffer
</code> being populated.
</p>
1855 <DT><B>Returns:
</B><DD>the
<code>StringBuffer
</code> being populated
</DL>
1860 <A NAME=
"getStyle()"><!-- --></A><H3>
1863 public
<A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringStyle.html" title=
"class in org.apache.commons.lang.builder">ToStringStyle
</A> <B>getStyle
</B>()
</PRE>
1865 <DD><p>Gets the
<code>ToStringStyle
</code> being used.
</p>
1869 <DT><B>Returns:
</B><DD>the
<code>ToStringStyle
</code> being used
<DT><B>Since:
</B></DT>
1876 <A NAME=
"toString()"><!-- --></A><H3>
1879 public java.lang.String
<B>toString
</B>()
</PRE>
1881 <DD><p>Returns the built
<code>toString
</code>.
</p>
1883 <p>This method appends the end of data indicator, and can only be called once.
1884 Use
<A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringBuilder.html#getStringBuffer()"><CODE>getStringBuffer()
</CODE></A> to get the current string state.
</p>
1886 <p>If the object is
<code>null
</code>, return the style's
<code>nullText
</code></p>
1890 <DT><B>Returns:
</B><DD>the String
<code>toString
</code></DL>
1893 <!-- ========= END OF CLASS DATA ========= -->
1897 <!-- ======= START OF BOTTOM NAVBAR ====== -->
1898 <A NAME=
"navbar_bottom"><!-- --></A>
1899 <A HREF=
"#skip-navbar_bottom" title=
"Skip navigation links"></A>
1900 <TABLE BORDER=
"0" WIDTH=
"100%" CELLPADDING=
"1" CELLSPACING=
"0" SUMMARY=
"">
1902 <TD COLSPAN=
3 BGCOLOR=
"#EEEEFF" CLASS=
"NavBarCell1">
1903 <A NAME=
"navbar_bottom_firstrow"><!-- --></A>
1904 <TABLE BORDER=
"0" CELLPADDING=
"0" CELLSPACING=
"3" SUMMARY=
"">
1905 <TR ALIGN=
"center" VALIGN=
"top">
1906 <TD BGCOLOR=
"#EEEEFF" CLASS=
"NavBarCell1"> <A HREF=
"../../../../../overview-summary.html"><FONT CLASS=
"NavBarFont1"><B>Overview
</B></FONT></A> </TD>
1907 <TD BGCOLOR=
"#EEEEFF" CLASS=
"NavBarCell1"> <A HREF=
"package-summary.html"><FONT CLASS=
"NavBarFont1"><B>Package
</B></FONT></A> </TD>
1908 <TD BGCOLOR=
"#FFFFFF" CLASS=
"NavBarCell1Rev"> <FONT CLASS=
"NavBarFont1Rev"><B>Class
</B></FONT> </TD>
1909 <TD BGCOLOR=
"#EEEEFF" CLASS=
"NavBarCell1"> <A HREF=
"class-use/ToStringBuilder.html"><FONT CLASS=
"NavBarFont1"><B>Use
</B></FONT></A> </TD>
1910 <TD BGCOLOR=
"#EEEEFF" CLASS=
"NavBarCell1"> <A HREF=
"package-tree.html"><FONT CLASS=
"NavBarFont1"><B>Tree
</B></FONT></A> </TD>
1911 <TD BGCOLOR=
"#EEEEFF" CLASS=
"NavBarCell1"> <A HREF=
"../../../../../deprecated-list.html"><FONT CLASS=
"NavBarFont1"><B>Deprecated
</B></FONT></A> </TD>
1912 <TD BGCOLOR=
"#EEEEFF" CLASS=
"NavBarCell1"> <A HREF=
"../../../../../index-all.html"><FONT CLASS=
"NavBarFont1"><B>Index
</B></FONT></A> </TD>
1913 <TD BGCOLOR=
"#EEEEFF" CLASS=
"NavBarCell1"> <A HREF=
"../../../../../help-doc.html"><FONT CLASS=
"NavBarFont1"><B>Help
</B></FONT></A> </TD>
1917 <TD ALIGN=
"right" VALIGN=
"top" ROWSPAN=
3><EM>
1923 <TD BGCOLOR=
"white" CLASS=
"NavBarCell2"><FONT SIZE=
"-2">
1924 <A HREF=
"../../../../../org/apache/commons/lang/builder/StandardToStringStyle.html" title=
"class in org.apache.commons.lang.builder"><B>PREV CLASS
</B></A>
1925 <A HREF=
"../../../../../org/apache/commons/lang/builder/ToStringStyle.html" title=
"class in org.apache.commons.lang.builder"><B>NEXT CLASS
</B></A></FONT></TD>
1926 <TD BGCOLOR=
"white" CLASS=
"NavBarCell2"><FONT SIZE=
"-2">
1927 <A HREF=
"../../../../../index.html" target=
"_top"><B>FRAMES
</B></A>
1928 <A HREF=
"ToStringBuilder.html" target=
"_top"><B>NO FRAMES
</B></A>
1929 <SCRIPT type=
"text/javascript">
1932 document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
1937 <A HREF=
"../../../../../allclasses-noframe.html"><B>All Classes
</B></A>
1943 <TD VALIGN=
"top" CLASS=
"NavBarCell3"><FONT SIZE=
"-2">
1944 SUMMARY:
NESTED
|
FIELD
|
<A HREF=
"#constructor_summary">CONSTR
</A> |
<A HREF=
"#method_summary">METHOD
</A></FONT></TD>
1945 <TD VALIGN=
"top" CLASS=
"NavBarCell3"><FONT SIZE=
"-2">
1946 DETAIL:
FIELD
|
<A HREF=
"#constructor_detail">CONSTR
</A> |
<A HREF=
"#method_detail">METHOD
</A></FONT></TD>
1949 <A NAME=
"skip-navbar_bottom"></A>
1950 <!-- ======== END OF BOTTOM NAVBAR ======= -->
1953 Copyright ©
2001-
2008 <a href=
"http://www.apache.org/">The Apache Software Foundation
</a>. All Rights Reserved.