65 |
|
* Overrides the {@link java.lang.Object#toString() Object.toString()} |
66 |
|
* method to provide clean logging (every class should have this). |
67 |
|
* |
68 |
+ |
* This uses the uk.ac.ukc.iscream.util.NameFormat class |
69 |
+ |
* to format the toString() |
70 |
+ |
* |
71 |
|
* @return the name of this class and its CVS revision |
72 |
|
*/ |
73 |
|
public String toString() { |
74 |
< |
return this.getClass().getName() + "{" + _name + "}(" + REVISION.substring(11, REVISION.length() - 2) + ")"; |
74 |
> |
return FormatName.getName( |
75 |
> |
_name, |
76 |
> |
getClass().getName(), |
77 |
> |
REVISION); |
78 |
|
} |
79 |
|
|
80 |
|
//---PRIVATE METHODS--- |