com.jtri.base
Class JtriUtils

java.lang.Object
  extended bycom.jtri.base.JtriUtils

public class JtriUtils
extends java.lang.Object

A bunch of useful static methods

Author:
atorres

Field Summary
static java.lang.String REMOVE_STATUS
           
static java.lang.String ROW_STATUS
           
 
Constructor Summary
JtriUtils()
           
 
Method Summary
static java.lang.String concatList(java.lang.String list1, java.lang.String list2, java.lang.String separator)
          Concatenates 2 strings that represents lists separated by this separator.
static void listRequest(javax.servlet.http.HttpServletRequest request, java.lang.Object page)
           
static java.lang.String stripPackage(java.lang.String className)
           
static java.lang.String toProperty(java.lang.String propName)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ROW_STATUS

public static final java.lang.String ROW_STATUS
See Also:
Constant Field Values

REMOVE_STATUS

public static final java.lang.String REMOVE_STATUS
See Also:
Constant Field Values
Constructor Detail

JtriUtils

public JtriUtils()
Method Detail

toProperty

public static java.lang.String toProperty(java.lang.String propName)

listRequest

public static void listRequest(javax.servlet.http.HttpServletRequest request,
                               java.lang.Object page)

concatList

public static java.lang.String concatList(java.lang.String list1,
                                          java.lang.String list2,
                                          java.lang.String separator)
Concatenates 2 strings that represents lists separated by this separator. For example , if list1 = "A,B" and list2 ="C" and separator=",", list1+list2="A,B,C". But if list1 = "" and list2="A,B" the result will be "A,B"


stripPackage

public static java.lang.String stripPackage(java.lang.String className)