model
Class Util

java.lang.Object
  extended by model.Util

public class Util
extends java.lang.Object

Util class holds static methods to perform tasks. In particular, the generateHTML() method generates the html for the article summaries

Author:
mherdeg,zozer

Constructor Summary
Util()
           
 
Method Summary
static java.lang.String generateHTML(Article a)
          Generates the html of the summary for the specified article
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Util

public Util()
Method Detail

generateHTML

public static java.lang.String generateHTML(Article a)
Generates the html of the summary for the specified article

Parameters:
a - Article
Returns:
String html