com.gisgraphy.helper
Class HTMLHelper

java.lang.Object
  extended by com.gisgraphy.helper.HTMLHelper

public class HTMLHelper
extends java.lang.Object

Provides some usefull methods

Author:
David Masclet

Field Summary
protected static org.slf4j.Logger logger
           
 
Constructor Summary
HTMLHelper()
           
 
Method Summary
static boolean isParametersEmpty(javax.servlet.http.HttpServletRequest req, java.lang.String... parameterNames)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

protected static final org.slf4j.Logger logger
Constructor Detail

HTMLHelper

public HTMLHelper()
Method Detail

isParametersEmpty

public static boolean isParametersEmpty(javax.servlet.http.HttpServletRequest req,
                                        java.lang.String... parameterNames)
Parameters:
req - The HttpServletRequest from which we'd like to test the parameters
parameterNames - the parameters to tests
Returns:
true if one of the parameters is null or equals to an empty string


Copyright © 2010. All Rights Reserved.