fr.gouv.culture.oai.util
Class OAIUtilities

java.lang.Object
  extended byfr.gouv.culture.oai.util.OAIUtilities

public class OAIUtilities
extends java.lang.Object

Created by IntelliJ IDEA. User: rpandey Date: Apr 28, 2003 Time: 2:36:57 PM To change this template use Options | File Templates.


Nested Class Summary
static class OAIUtilities.Date
           
 
Constructor Summary
OAIUtilities()
           
 
Method Summary
static boolean checkString(java.lang.String s)
          Returns true if a string is not null or empty
static void logDebug(org.apache.avalon.framework.logger.Logger logger, java.lang.String s, java.lang.Exception e)
          Verifies the logger and logs a message
static void logError(org.apache.avalon.framework.logger.Logger logger, java.lang.String s, java.lang.Exception e)
          Verifies the logger and logs a message
static void logException(org.apache.avalon.framework.logger.Logger logger, java.lang.Exception e)
          Verifies the logger and logs an exception
static void logInfo(org.apache.avalon.framework.logger.Logger logger, java.lang.String s)
          Verifies the logger and logs a message
static void logWarn(org.apache.avalon.framework.logger.Logger logger, java.lang.String s, java.lang.Exception e)
          Verifies the logger and logs a message
static java.lang.String normalizeHttpRequestParameterName(java.lang.String origName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OAIUtilities

public OAIUtilities()
Method Detail

checkString

public static boolean checkString(java.lang.String s)
Returns true if a string is not null or empty

Parameters:
s - The string to verify

logInfo

public static void logInfo(org.apache.avalon.framework.logger.Logger logger,
                           java.lang.String s)
Verifies the logger and logs a message

Parameters:
logger - The logger
s - The message

logDebug

public static void logDebug(org.apache.avalon.framework.logger.Logger logger,
                            java.lang.String s,
                            java.lang.Exception e)
Verifies the logger and logs a message

Parameters:
logger - The logger
s - The message (maybe null)
e - The exception (maybe null)

logError

public static void logError(org.apache.avalon.framework.logger.Logger logger,
                            java.lang.String s,
                            java.lang.Exception e)
Verifies the logger and logs a message

Parameters:
logger - The logger
s - The message (maybe null)
e - The exception (maybe null)

logWarn

public static void logWarn(org.apache.avalon.framework.logger.Logger logger,
                           java.lang.String s,
                           java.lang.Exception e)
Verifies the logger and logs a message

Parameters:
logger - The logger
s - The message (maybe null)
e - The exception (maybe null)

logException

public static void logException(org.apache.avalon.framework.logger.Logger logger,
                                java.lang.Exception e)
Verifies the logger and logs an exception

Parameters:
logger - The logger
e - The exception (maybe null)

normalizeHttpRequestParameterName

public static java.lang.String normalizeHttpRequestParameterName(java.lang.String origName)


Copyright © 2000-2004 Ministere de la culture et de la communication / AJLSM. All Rights Reserved.