Package de.uplanet.lucy.server.renderer
Class FormatUtil
- java.lang.Object
-
- de.uplanet.lucy.server.renderer.FormatUtil
-
@VelocityCallable("singleton") public final class FormatUtil extends Object
-
-
Constructor Summary
Constructors Constructor Description FormatUtil()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description de.uplanet.lucy.server.renderer.IFormatBoolean
formatBoolean(String p_strTrueValue, String p_strFalseValue)
de.uplanet.lucy.server.renderer.IFormatBoolean
formatBoolean(Map<String,de.uplanet.lucy.server.property.IProperty> p_props)
de.uplanet.lucy.server.renderer.IFormatBoolean
formatBoolean(Map<String,String> p_mapTrueValues, Map<String,String> p_mapFalseValue)
de.uplanet.lucy.server.renderer.IFormatFloat
formatCurrency(String p_strDeciamlSeparator, String p_strGroupingSeparator, int p_iFractionalDigits, boolean p_bLeadingNulls)
de.uplanet.lucy.server.renderer.IFormatFloat
formatCurrency(Map<String,de.uplanet.lucy.server.property.IProperty> p_props)
de.uplanet.lucy.server.renderer.IFormatDate
formatDate(String p_strDateFormat)
de.uplanet.lucy.server.renderer.IFormatDate
formatDate(Map<String,de.uplanet.lucy.server.property.IProperty> p_props)
de.uplanet.lucy.server.renderer.IFormatDateTime
formatDateTime(String p_strDateFormat, String p_strTimeFormat)
de.uplanet.lucy.server.renderer.IFormatDateTime
formatDateTime(Map<String,de.uplanet.lucy.server.property.IProperty> p_props)
de.uplanet.lucy.server.renderer.IFormatFloat
formatFloat(String p_strDeciamlSeparator, String p_strGroupingSeparator, int p_iFractionalDigits, boolean p_bLeadingNulls)
de.uplanet.lucy.server.renderer.IFormatFloat
formatFloat(Map<String,de.uplanet.lucy.server.property.IProperty> p_props)
de.uplanet.lucy.server.renderer.IFormatImage
formatImage(int p_iWidth, int p_iHeight, boolean p_bScaled, boolean p_bAutoRotate, boolean p_bCrop, boolean p_bCropMaximized, boolean p_bOptimizeSize)
de.uplanet.lucy.server.renderer.IFormatImage
formatImage(Map<String,de.uplanet.lucy.server.property.IProperty> p_props)
de.uplanet.lucy.server.renderer.IFormatInteger
formatInteger(String p_strGroupingSep)
de.uplanet.lucy.server.renderer.IFormatInteger
formatInteger(Map<String,de.uplanet.lucy.server.property.IProperty> p_props)
de.uplanet.lucy.server.renderer.IFormatText
formatText(String p_strEncode, int p_iLengthLimit, String p_strMoreMaker)
de.uplanet.lucy.server.renderer.IFormatText
formatText(String p_strEncode, int p_iLengthLimit, String p_strMoreMaker, boolean p_bInsertBR)
de.uplanet.lucy.server.renderer.IFormatText
formatText(String p_strEncode, int p_iLengthLimit, String p_strMoreMaker, boolean p_bUseHtmlLengthLimited, boolean p_bCloseTags)
de.uplanet.lucy.server.renderer.IFormatText
formatText(Map<String,de.uplanet.lucy.server.property.IProperty> p_props)
de.uplanet.lucy.server.renderer.IFormatTime
formatTime(String p_strTimeFormat)
de.uplanet.lucy.server.renderer.IFormatTime
formatTime(Map<String,de.uplanet.lucy.server.property.IProperty> p_props)
-
-
-
Method Detail
-
formatBoolean
public de.uplanet.lucy.server.renderer.IFormatBoolean formatBoolean(Map<String,de.uplanet.lucy.server.property.IProperty> p_props)
-
formatBoolean
public de.uplanet.lucy.server.renderer.IFormatBoolean formatBoolean(String p_strTrueValue, String p_strFalseValue)
-
formatBoolean
public de.uplanet.lucy.server.renderer.IFormatBoolean formatBoolean(Map<String,String> p_mapTrueValues, Map<String,String> p_mapFalseValue)
- Parameters:
p_mapTrueValues
- The language map for thetrue
valuesp_mapFalseValue
- The language map for thefalse
values- Returns:
- The boolean format
-
formatInteger
public de.uplanet.lucy.server.renderer.IFormatInteger formatInteger(Map<String,de.uplanet.lucy.server.property.IProperty> p_props)
-
formatInteger
public de.uplanet.lucy.server.renderer.IFormatInteger formatInteger(String p_strGroupingSep)
-
formatDate
public de.uplanet.lucy.server.renderer.IFormatDate formatDate(Map<String,de.uplanet.lucy.server.property.IProperty> p_props)
-
formatDate
public de.uplanet.lucy.server.renderer.IFormatDate formatDate(String p_strDateFormat)
-
formatDateTime
public de.uplanet.lucy.server.renderer.IFormatDateTime formatDateTime(Map<String,de.uplanet.lucy.server.property.IProperty> p_props)
-
formatDateTime
public de.uplanet.lucy.server.renderer.IFormatDateTime formatDateTime(String p_strDateFormat, String p_strTimeFormat)
-
formatFloat
public de.uplanet.lucy.server.renderer.IFormatFloat formatFloat(Map<String,de.uplanet.lucy.server.property.IProperty> p_props)
-
formatFloat
public de.uplanet.lucy.server.renderer.IFormatFloat formatFloat(String p_strDeciamlSeparator, String p_strGroupingSeparator, int p_iFractionalDigits, boolean p_bLeadingNulls)
-
formatCurrency
public de.uplanet.lucy.server.renderer.IFormatFloat formatCurrency(Map<String,de.uplanet.lucy.server.property.IProperty> p_props)
-
formatCurrency
public de.uplanet.lucy.server.renderer.IFormatFloat formatCurrency(String p_strDeciamlSeparator, String p_strGroupingSeparator, int p_iFractionalDigits, boolean p_bLeadingNulls)
-
formatImage
public de.uplanet.lucy.server.renderer.IFormatImage formatImage(Map<String,de.uplanet.lucy.server.property.IProperty> p_props)
-
formatImage
public de.uplanet.lucy.server.renderer.IFormatImage formatImage(int p_iWidth, int p_iHeight, boolean p_bScaled, boolean p_bAutoRotate, boolean p_bCrop, boolean p_bCropMaximized, boolean p_bOptimizeSize)
-
formatText
public de.uplanet.lucy.server.renderer.IFormatText formatText(Map<String,de.uplanet.lucy.server.property.IProperty> p_props)
-
formatText
public de.uplanet.lucy.server.renderer.IFormatText formatText(String p_strEncode, int p_iLengthLimit, String p_strMoreMaker, boolean p_bInsertBR)
-
formatText
public de.uplanet.lucy.server.renderer.IFormatText formatText(String p_strEncode, int p_iLengthLimit, String p_strMoreMaker)
-
formatText
public de.uplanet.lucy.server.renderer.IFormatText formatText(String p_strEncode, int p_iLengthLimit, String p_strMoreMaker, boolean p_bUseHtmlLengthLimited, boolean p_bCloseTags)
-
formatTime
public de.uplanet.lucy.server.renderer.IFormatTime formatTime(Map<String,de.uplanet.lucy.server.property.IProperty> p_props)
-
formatTime
public de.uplanet.lucy.server.renderer.IFormatTime formatTime(String p_strTimeFormat)
-
-