|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectse.kmr.scam.client.http.util.URLUtil
Title:
Description:
Copyright: Copyright (c) 2002
Company:
Constructor Summary | |
URLUtil()
|
Method Summary | |
static Collection |
fromURI(Model model,
Collection subjectURIs)
Creates a collection of uri values for a collection of Resource objects. |
static String |
getQueryString(HttpServletRequest request,
boolean encode)
Gets the queryString attribute of the URLUtil class |
static String |
getRequestURL(HttpServletRequest request)
Gets the requestURL attribute of the URLUtil class |
static int |
parseInt(String value,
int defaultValue)
Parse a integer value from a java.lang.String object. |
static int |
parseInt(String value,
int minValue,
int defaultValue)
Parse a integer value from a String object. |
static List |
toURI(Collection subjects)
Creates a collection of uri values for a collection of Resource objects. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public URLUtil()
Method Detail |
public static String getRequestURL(HttpServletRequest request)
request
- Description of the Parameter
public static String getQueryString(HttpServletRequest request, boolean encode)
request
- Description of the Parameterencode
- Description of the Parameter
public static List toURI(Collection subjects)
subjects
- Use this collection of Resource objects
public static Collection fromURI(Model model, Collection subjectURIs)
model
- Description of the ParametersubjectURIs
- Description of the Parameter
public static int parseInt(String value, int defaultValue)
java.lang.String
object. This
function will always return a integer value, either the parsed value or
the default value.
value
- Parse this objectdefaultValue
- Default integer value
public static int parseInt(String value, int minValue, int defaultValue)
String
object.
value
- Parse this valueminValue
- minimum value of the integer valuedefaultValue
- use this value if the given object does not represent a integer value
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |