fr.paris.lutece.portal.service.content
Class ContentPostProcessorService

java.lang.Object
  extended by fr.paris.lutece.portal.service.content.ContentPostProcessorService

public final class ContentPostProcessorService
extends Object

Content Post Processor Service


Method Summary
static boolean hasProcessor()
          Has processor registered.
static void init()
          Initialize the service
static String process(javax.servlet.http.HttpServletRequest request, String strContent)
          Process a content
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

init

public static void init()
Initialize the service


hasProcessor

public static boolean hasProcessor()
Has processor registered. Use this method before processing for performance issue.

Returns:
True if there at least one processor registered

process

public static String process(javax.servlet.http.HttpServletRequest request,
                             String strContent)
Process a content

Parameters:
request - The HTTP Request
strContent - The content to process
Returns:
The processed content


Copyright © 2014 Mairie de Paris. All Rights Reserved.