org.vraptor.view
Class Functions
java.lang.Object
org.vraptor.view.Functions
public class Functions
- extends Object
Simple functions for complex taglibs.
- Author:
- Guilherme Silveira
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Functions
public Functions()
getProperty
public static Object getProperty(Object o,
String field)
setToList
public static <T> List<T> setToList(Set<T> set)
stringToHtml
public static String stringToHtml(String str)
- Receives a string and translates its line breaks to br tags
- Parameters:
str - the string
- Returns:
- the html string
Copyright © 2004-2008 VRaptor. All Rights Reserved.