railo.runtime.functions.string
Class Wrap

java.lang.Object
  extended by railo.runtime.functions.string.Wrap
All Implemented Interfaces:
Serializable, Function

public final class Wrap
extends Object
implements Function

See Also:
Serialized Form

Constructor Summary
Wrap()
           
 
Method Summary
static String call(PageContext pc, String string, double limit)
           
static String call(PageContext pc, String string, double limit, boolean strip)
           
static String wrap(String str, int wrapTextLength)
          wraps a String to specified length
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Wrap

public Wrap()
Method Detail

call

public static String call(PageContext pc,
                          String string,
                          double limit)
                   throws ExpressionException
Throws:
ExpressionException

call

public static String call(PageContext pc,
                          String string,
                          double limit,
                          boolean strip)
                   throws ExpressionException
Throws:
ExpressionException

wrap

public static String wrap(String str,
                          int wrapTextLength)
wraps a String to specified length

Parameters:
str - string to erap
wrapTextLength -
Returns:
wraped String


Copyright © 2012 Railo