org.paneris.jammyjoes.util
Class JammyJoesContextUtil
java.lang.Object
org.paneris.jammyjoes.util.JammyJoesContextUtil
public class JammyJoesContextUtil
- extends java.lang.Object
A place where useful Static methods can be put.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JammyJoesContextUtil
public JammyJoesContextUtil()
increment
public java.lang.Integer increment(java.lang.Integer a)
getPriceDisplayWithoutPound
public static java.lang.String getPriceDisplayWithoutPound(java.lang.Double price)
getInteger
public static java.lang.String getInteger(java.lang.Double price)
getNonZeroInteger
public static java.lang.String getNonZeroInteger(java.lang.Double price)
getNonZeroPriceDisplay
public static java.lang.String getNonZeroPriceDisplay(java.lang.Double price)
getPriceDisplay
public static java.lang.String getPriceDisplay(java.lang.Double price)
getPercentDisplay
public static java.lang.String getPercentDisplay(java.lang.Double percent)
trimTo
public static java.lang.String trimTo(java.lang.String s,
int length)
CRLFtoBR
public static java.lang.String CRLFtoBR(java.lang.String str)
getUrlEncoded
public static java.lang.String getUrlEncoded(java.lang.String s)
getPositionOfSlash
public static int getPositionOfSlash(java.lang.String s,
int count)
getPathBeforeAge
public static java.lang.String getPathBeforeAge(java.lang.String s)
getPathAfterAge
public static java.lang.String getPathAfterAge(java.lang.String s)
main
public static void main(java.lang.String[] args)
Copyright © 2001-2008 PanEris. All Rights Reserved.