public class TagUtil
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String | CARRIAGERETURN
CARRIAGE RETURN
|
static java.lang.String | COPYRIGHT
Copyright String
|
static java.lang.String | LINEFEED
Line Feed
|
Modifier and Type | Method and Description |
---|---|
static java.lang.StringBuffer | bufferReplace(java.lang.StringBuffer content, java.lang.String pattern, java.lang.String replace)
Replace all patterns with replace string for a string buffer.
|
static java.lang.String | getContentsAt(java.lang.String urlLocation)
This function returns the contents of the given URL Location
|
static java.lang.String | getMainURL()
It returns the main part of the URL: http:///webapp/....
|
static java.lang.String | getMainURL(CommandContext context)
It returns the main part of the URL: http:///webapp/....
|
static java.lang.String | getSecuredMainURL()
It returns the main part of the URL.
|
static java.lang.String | getSecuredMainURL(CommandContext context)
It returns the main part of the URL.
|
static java.lang.String | getServerAddress()
Returns the Server IP Address
|
static java.lang.String | getServerAddress(CommandContext context)
Returns the Server Address
|
static java.lang.String | getSpotContentFromView(java.lang.String view, java.lang.Long userId, TypedProperty properties, CommandContext comContext)
This method invokes the view URL as the user of the specified user identifier and returns the generated the content.
|
static java.lang.String | getSpotContentFromView(java.lang.String view, java.lang.String recipientIdS, java.lang.String storeIdS, TypedProperty properties)
This method invokes the view URL as the user of the specified user identifier and returns the generated the content.
|
static java.lang.String | getStoresWebPath()
This method returns the store web path.
|
public static final java.lang.String COPYRIGHT
public static final java.lang.String CARRIAGERETURN
public static final java.lang.String LINEFEED
public static java.lang.String getServerAddress()
public static java.lang.String getServerAddress(CommandContext context)
public static java.lang.String getMainURL(CommandContext context)
public static java.lang.String getSecuredMainURL(CommandContext context)
public static java.lang.String getMainURL()
public static java.lang.String getSecuredMainURL()
public static java.lang.String getStoresWebPath()
public static java.lang.String getContentsAt(java.lang.String urlLocation) throws ECException
public static java.lang.String getSpotContentFromView(java.lang.String view, java.lang.String recipientIdS, java.lang.String storeIdS, TypedProperty properties)
public static java.lang.String getSpotContentFromView(java.lang.String view, java.lang.Long userId, TypedProperty properties, CommandContext comContext)
public static java.lang.StringBuffer bufferReplace(java.lang.StringBuffer content, java.lang.String pattern, java.lang.String replace)