com.h3c.util

## Class ObjectToStringConverter

- java.lang.Object
- - com.h3c.util.ObjectToStringConverter

-     public final class ObjectToStringConverter
      extends Object

  Utility class to override `Object.toString()`

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `static String` | `toString(Object subject, Property<String,?>... properties)` Converts an object to a String to be used as implementation of `Object.toString()`.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Method Detail

    - #### toString

          public static String toString(Object subject,
                        Property<String,?>... properties)

      Converts an object to a String to be used as implementation of `Object.toString()`.
      Parameters:
        `subject` - object to convert to string
        `properties` - object's properties to include
      Returns:
        a string representation of `subject` as described in `Object.toString()`

Copyright © 2014. All Rights Reserved.