org.ultrawork.wtk.util
Class WtkUtils

java.lang.Object
  |
  +--org.ultrawork.wtk.util.WtkUtils

public class WtkUtils
extends java.lang.Object

A utility class providing simple services related to the Web Toolkit.

Version:
0.3
Author:
Nicolas Bonvin

Constructor Summary
WtkUtils()
           
 
Method Summary
static void include(javax.servlet.jsp.PageContext pageContext, java.lang.String jspPath)
           
static void include(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response, java.lang.String jspPath)
           
static int scopeValue(java.lang.String scopeStr)
           
static boolean shouldFlush(javax.servlet.jsp.PageContext pageContext)
           
static java.util.Locale userLocale(javax.servlet.http.HttpSession session)
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Constructor Detail

WtkUtils

public WtkUtils()
Method Detail

shouldFlush

public static boolean shouldFlush(javax.servlet.jsp.PageContext pageContext)

include

public static void include(javax.servlet.jsp.PageContext pageContext,
                           java.lang.String jspPath)
                    throws java.io.IOException,
                           javax.servlet.ServletException

include

public static void include(javax.servlet.ServletRequest request,
                           javax.servlet.ServletResponse response,
                           java.lang.String jspPath)
                    throws java.io.IOException,
                           javax.servlet.ServletException

scopeValue

public static int scopeValue(java.lang.String scopeStr)

userLocale

public static java.util.Locale userLocale(javax.servlet.http.HttpSession session)


Copyright 2002 - ultrawork