Class StringRepresentation

    • Constructor Summary

      Constructors 
      Constructor Description
      StringRepresentation​(java.lang.Object obj)
      Builds a new representation starting from the given object.
      StringRepresentation​(java.lang.String representation)
      Builds a new representation containing the given string.
    • Constructor Detail

      • StringRepresentation

        public StringRepresentation​(java.lang.String representation)
        Builds a new representation containing the given string.
        Parameters:
        representation - the string
      • StringRepresentation

        public StringRepresentation​(java.lang.Object obj)
        Builds a new representation starting from the given object. String.valueOf(Object) is used to extract its string representation.
        Parameters:
        obj - the object