net.sf.jasperreports.jsf.util
Class Util

java.lang.Object
  extended by net.sf.jasperreports.jsf.util.Util

public final class Util
extends Object

The Class Util.


Method Summary
static ClassLoader getClassLoader(Object fallback)
          Gets the class loader.
static String getInvocationPath(javax.faces.context.FacesContext context)
          Gets the faces mapping.
static boolean isPrefixMapped(String mapping)
           Returns true if the provided url-mapping is a prefix path mapping (starts with /).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getClassLoader

public static ClassLoader getClassLoader(Object fallback)
Gets the class loader.

Parameters:
fallback - the fallback
Returns:
the class loader

getInvocationPath

public static String getInvocationPath(javax.faces.context.FacesContext context)
Gets the faces mapping.

Parameters:
context - the context
Returns:
the faces mapping

isPrefixMapped

public static boolean isPrefixMapped(String mapping)

Returns true if the provided url-mapping is a prefix path mapping (starts with /).

Parameters:
mapping - a url-pattern
Returns:
true if the mapping starts with /


Copyright © 2011 SourceForge.net. All Rights Reserved.