public class AppendeeObject extends Object implements Appendee
toString()
method is
overridden to call the appendTo(com.healthmarketscience.common.util.AppendableExt)
method, so a subclass need only
provide a new implementation for the appendTo()
method. The
default appendTo()
implementation appends the result of calling
Object.toString()
. Also adds a toString(int)
method for
specifying the initial size of the underlying StringBuilder.Constructor and Description |
---|
AppendeeObject() |
Modifier and Type | Method and Description |
---|---|
void |
appendTo(AppendableExt a)
Appends this object to the given AppendableExt.
|
String |
toString() |
String |
toString(int size) |
public void appendTo(AppendableExt a) throws IOException
Appendee
appendTo
in interface Appendee
a
- the AppendableExt to which this class should append itselfIOException
- if the append failspublic String toString(int size)
Copyright © 2006–2021 OpenHMS. All rights reserved.