|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.paris.lutece.plugins.calendar.web.HtmlUtils
public class HtmlUtils
An Utility class to manipulate html code.
Constructor Summary | |
---|---|
HtmlUtils()
|
Method Summary | |
---|---|
static java.lang.String |
convertCR(java.lang.String strSource)
Convert CR into HTML |
static void |
fillEventTemplate(java.util.HashMap model,
MultiAgendaEvent event,
java.lang.String strDate)
Fill a template with events info |
static java.lang.String |
removeHtml(java.lang.String strSource)
Remove the part of the string that contains HTML |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HtmlUtils()
Method Detail |
---|
public static java.lang.String removeHtml(java.lang.String strSource)
strSource
- The source string
public static java.lang.String convertCR(java.lang.String strSource)
strSource
- The string to convert
public static void fillEventTemplate(java.util.HashMap model, MultiAgendaEvent event, java.lang.String strDate)
model
- The model used to fill eventsevent
- The eventstrDate
- The current date
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |