Package lumis.util.collections
Class DummyStringfy<T>
- java.lang.Object
-
- lumis.util.collections.DummyStringfy<T>
-
- All Implemented Interfaces:
IStringify<T>
public class DummyStringfy<T> extends java.lang.Object implements IStringify<T>
Dummy stringfy that uses the object'stoString()
to generate the message.- Since:
- 9.0.0
- Version:
- $Revision: 19136 $ $Date: 2016-06-02 18:14:45 -0300 (Thu, 02 Jun 2016) $
-
-
Constructor Summary
Constructors Constructor Description DummyStringfy()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static <T> DummyStringfy<T>
get()
Returns a newDummyStringfy
.java.lang.String
stringify(T object)
Converts a given object in a string representation.
-
-
-
Method Detail
-
stringify
public java.lang.String stringify(T object) throws PortalException
Description copied from interface:IStringify
Converts a given object in a string representation.- Specified by:
stringify
in interfaceIStringify<T>
- Parameters:
object
- the object.- Returns:
- the string representation.
- Throws:
PortalException
-
get
public static <T> DummyStringfy<T> get()
Returns a newDummyStringfy
.- Returns:
- a new
DummyStringfy
. - Since:
- 9.0.0
-
-