org.assertj.core.presentation
Class BinaryRepresentation

java.lang.Object
  extended by org.assertj.core.presentation.BinaryRepresentation
All Implemented Interfaces:
Representation

public class BinaryRepresentation
extends Object
implements Representation

Binary object representation instead of standard java representation.

Author:
Mariusz Smykula

Field Summary
static String BYTE_PREFIX
           
 
Constructor Summary
BinaryRepresentation()
           
 
Method Summary
 String toStringOf(Object object)
          Returns binary the toString representation of the given object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BYTE_PREFIX

public static final String BYTE_PREFIX
See Also:
Constant Field Values
Constructor Detail

BinaryRepresentation

public BinaryRepresentation()
Method Detail

toStringOf

public String toStringOf(Object object)
Returns binary the toString representation of the given object. It may or not the object's own implementation of toString.

Specified by:
toStringOf in interface Representation
Parameters:
object - the given object.
Returns:
the toString representation of the given object.


Copyright © 2013–2015 AssertJ. All rights reserved.