Package org.apache.catalina.util
Class ToStringUtil
- java.lang.Object
-
- org.apache.catalina.util.ToStringUtil
-
public class ToStringUtil extends java.lang.ObjectUtility class used to help generate return values for calls toObject.toString().
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.StringtoString(java.lang.Object obj, Container container)Generates a toString representation for an object with an associated container.static java.lang.StringtoString(java.lang.Object obj, Manager manager)Generates a toString representation for an object with an associated manager.static java.lang.StringtoString(Contained contained)Generates a toString representation for a Contained component.
-
-
-
Method Detail
-
toString
public static java.lang.String toString(Contained contained)
Generates a toString representation for a Contained component.- Parameters:
contained- the component- Returns:
- the string representation
-
toString
public static java.lang.String toString(java.lang.Object obj, Container container)Generates a toString representation for an object with an associated container.- Parameters:
obj- the objectcontainer- the associated container- Returns:
- the string representation
-
toString
public static java.lang.String toString(java.lang.Object obj, Manager manager)Generates a toString representation for an object with an associated manager.- Parameters:
obj- the objectmanager- the associated manager- Returns:
- the string representation
-
-