|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.newsletter.modules.document.util.NewsletterDocumentUtils
public final class NewsletterDocumentUtils
Utility class for newsletter document
| Field Summary | |
|---|---|
static String |
CONSTANT_IMG_FILE_TYPE
Image file type |
| Method Summary | |
|---|---|
static String |
formatInteger(int nNbToformat,
int nNbDigits)
Get the string representation of an integer with a specified number of digits. |
static String |
rewriteImgUrls(String strContent,
String strBaseUrl,
String strUnsecuredBaseUrl,
String strUnsecuredFolderPath,
String strUnsecuredFolder)
Rewrite secured img urls to absolutes urls |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String CONSTANT_IMG_FILE_TYPE
| Method Detail |
|---|
public static String rewriteImgUrls(String strContent,
String strBaseUrl,
String strUnsecuredBaseUrl,
String strUnsecuredFolderPath,
String strUnsecuredFolder)
strContent - The content to analyzestrBaseUrl - The base urlstrUnsecuredBaseUrl - The unsecured base URLstrUnsecuredFolderPath - The unsecured folder pathstrUnsecuredFolder - The unsecured folder
public static String formatInteger(int nNbToformat,
int nNbDigits)
nNbToformat - The number to formatnNbDigits - The number of digits to add
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||