Class ProductWriter


  • public class ProductWriter
    extends java.lang.Object
    User agent header writer.
    Author:
    Thierry Boileau
    • Constructor Summary

      Constructors 
      Constructor Description
      ProductWriter()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String write​(java.util.List<org.restlet.data.Product> products)
      Formats the given List of Products to a String.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ProductWriter

        public ProductWriter()
    • Method Detail

      • write

        public static java.lang.String write​(java.util.List<org.restlet.data.Product> products)
        Formats the given List of Products to a String.
        Parameters:
        products - The list of products to format.
        Returns:
        the List of Products as String.