net.sf.jour.util
Class StringUtil
java.lang.Object
net.sf.jour.util.StringUtil
- public class StringUtil
- extends java.lang.Object
TODO Add docs
Created on 04.12.2004
Contributing Author(s):
Misha Lifschitz (Inital implementation)
Vlad Skarzhevskyy (Inital implementation)
- Version:
- $Revision: 1.3 $ ($Author: vlads $) $Date: 2004/12/15 05:09:26 $
- Author:
- vlads
Method Summary |
static java.lang.String |
percent(double duration,
double durationTotal)
|
static java.lang.String |
replaceAll(java.lang.String str,
java.lang.String replace,
java.lang.String replacement)
jre 1.3 compatible replaceAll. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StringUtil
public StringUtil()
replaceAll
public static java.lang.String replaceAll(java.lang.String str,
java.lang.String replace,
java.lang.String replacement)
- jre 1.3 compatible replaceAll.
- Parameters:
str
- text to search and replace inreplace
- the String to search forreplacement
- the String to replace with
- Returns:
- the text with any replacements processed
percent
public static java.lang.String percent(double duration,
double durationTotal)
Copyright © 2004 sourceforge. All Rights Reserved.