Method | Description | |
---|---|---|
FormatArray ( Object array ) : String |
Formats an array into the form "A, B and C".
|
|
FormatArray ( Object array, String delim ) : String |
Formats an array into the form "A<delim>B<delim>C".
|
|
FormatArray ( Object array, String delim, String finaldelim ) : String |
Formats an array into the form "A<delim>B<finaldelim>C".
|
|
FormatLongDate ( System.DateTime date ) : String |
Formats a date in 'long' style.
|
|
FormatLongDateTime ( System.DateTime date ) : String |
Formats a date/time in 'long' style.
|
|
FormatShortDate ( System.DateTime date ) : String |
Formats a date in 'short' style.
|
|
FormatShortDateTime ( System.DateTime date ) : String |
Formats a date/time in 'short' style.
|
|
FormatVector ( IList list ) : String |
Formats a list into the form "A, B and C".
|
|
FormatVector ( IList list, String delim ) : String |
Formats a list into the form "A<delim>B<delim>C".
|
|
FormatVector ( IList list, String delim, String finaldelim ) : String |
Formats a list into the form "Adelim>B<finaldelim>C".
|
|
IsNull ( Object o, Object dflt ) : Object |
Returns a default value if the object passed is null.
|
|
LimitLen ( int maxlen, String value ) : String |
Limits 'string' to 'maxlen' characters. If the string gets curtailed, "..." is appended to it.
|
|
LimitLen ( int maxlen, String value, String suffix ) : String |
Limits 'string' to 'maxlen' character. If the string gets curtailed, 'suffix' is appended to it.
|
|
MakeAlternator ( String name, String alt1, String alt2 ) : String |
Makes an alternator object that alternates between two values. Example usage in a Velocity template:
|
|
MakeAlternator ( String name, String alt1, String alt2, String alt3 ) : String |
Makes an alternator object that alternates between three values.
|
|
MakeAlternator ( String name, String alt1, String alt2, String alt3, String alt4 ) : String |
Makes an alternator object that alternates between four values.
|
|
MakeAutoAlternator ( String name, String alt1, String alt2 ) : String |
Makes an alternator object that alternates between two values automatically.
|
|
VelocityFormatter ( IContext context ) : System |
Constructor needs a backpointer to the context.
|
public FormatArray ( Object array ) : String | ||
array | Object | An Object. |
return | String |
public FormatArray ( Object array, String delim ) : String | ||
array | Object | An Object. |
delim | String | A String. |
return | String |
public FormatArray ( Object array, String delim, String finaldelim ) : String | ||
array | Object | An Object. |
delim | String | A String. |
finaldelim | String | A String. |
return | String |
public FormatLongDate ( System.DateTime date ) : String | ||
date | System.DateTime | A Date. |
return | String |
public FormatLongDateTime ( System.DateTime date ) : String | ||
date | System.DateTime | A Date. |
return | String |
public FormatShortDate ( System.DateTime date ) : String | ||
date | System.DateTime | A Date. |
return | String |
public FormatShortDateTime ( System.DateTime date ) : String | ||
date | System.DateTime | A Date. |
return | String |
public FormatVector ( IList list ) : String | ||
list | IList | A list. |
return | String |
public FormatVector ( IList list, String delim ) : String | ||
list | IList | A list. |
delim | String | A String. |
return | String |
public FormatVector ( IList list, String delim, String finaldelim ) : String | ||
list | IList | A list. |
delim | String | A String. |
finaldelim | String | A String. |
return | String |
public IsNull ( Object o, Object dflt ) : Object | ||
o | Object | |
dflt | Object | |
return | Object |
public LimitLen ( int maxlen, String value ) : String | ||
maxlen | int | An int with the maximum length. |
value | String | A String. |
return | String |
public LimitLen ( int maxlen, String value, String suffix ) : String | ||
maxlen | int | An int with the maximum length. |
value | String | A String. |
suffix | String | A String. |
return | String |
public MakeAlternator ( String name, String alt1, String alt2 ) : String | ||
name | String | The name for the alternator int the context. |
alt1 | String | The first alternate. |
alt2 | String | The second alternate. |
return | String |
public MakeAlternator ( String name, String alt1, String alt2, String alt3 ) : String | ||
name | String | |
alt1 | String | |
alt2 | String | |
alt3 | String | |
return | String |
public MakeAlternator ( String name, String alt1, String alt2, String alt3, String alt4 ) : String | ||
name | String | |
alt1 | String | |
alt2 | String | |
alt3 | String | |
alt4 | String | |
return | String |
public MakeAutoAlternator ( String name, String alt1, String alt2 ) : String | ||
name | String | |
alt1 | String | |
alt2 | String | |
return | String |
public VelocityFormatter ( IContext context ) : System | ||
context | IContext | A Context. |
return | System |