br.eti.kinoshita.tap4j.util
Class Util
java.lang.Object
br.eti.kinoshita.tap4j.util.Util
public class Util
- extends Object
Utility Class.
- Since:
- 1.0
- Author:
- Bruno P. Kinoshita - http://www.kinoshita.eti.br
|
Constructor Summary |
Util()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Util
public Util()
appendIfNotNull
public static void appendIfNotNull(StringBuffer sb,
String prefix,
Object object,
String suffix)
- Appends a text to the StringBuffer with a prefix and suffix.
- Parameters:
sb - prefix - object - suffix -
appendIfNotNull
public static void appendIfNotNull(StringBuffer sb,
String text)
- Appends a text to a given StringBuffer if the text is not null.
- Parameters:
sb - StringBuffer object.text - String text to be appended.
Copyright © 2010. All Rights Reserved.