com.nearform.patrun
Interface Printer


public interface Printer

A simple interface to that can be passed ionto the toString method of patrun to allow data objects to be ciustom formatted when being generated into a String


Method Summary
 String toString(Object data)
          A toString method to generate a custom String representation of an object
 

Method Detail

toString

String toString(Object data)
A toString method to generate a custom String representation of an object

Parameters:
data - the object to print
Returns:
a string representation of the object


Copyright © 2015. All rights reserved.