public abstract class Data
extends java.lang.Object
implements java.lang.Cloneable
| Modifier and Type | Field and Description |
|---|---|
LogManager |
mLogger
The LogManager object which is used to log all the messages.
|
java.lang.String |
mLogMsg
The String which stores the message to be stored.
|
| Constructor and Description |
|---|
Data()
The default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
setToString(java.util.Set s,
java.lang.String delim)
A small helper method that displays the contents of a Set in a String.
|
abstract java.lang.String |
toString()
Returns the String version of the data object, which is in human readable
form.
|
java.lang.String |
vectorToString(java.lang.String heading,
java.util.Vector vector)
It converts the contents of the Vector to a String and returns it.
|
public transient LogManager mLogger
public transient java.lang.String mLogMsg
public abstract java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String vectorToString(java.lang.String heading,
java.util.Vector vector)
heading - The heading you want to give
to the text which is printedvector - The Vector whose
elements you want to printpublic java.lang.String setToString(java.util.Set s,
java.lang.String delim)
delim - The delimited between the members of the set.