TPTP 4.6.0 Platform Project
Internal API Specification

org.eclipse.hyades.trace.ui.internal.util
Class TString

java.lang.Object
  extended by org.eclipse.hyades.trace.ui.internal.util.TString

public class TString
extends java.lang.Object

This class provides static methods for some of the very used IString operations


Field Summary
protected static com.ibm.icu.text.NumberFormat _decimalFormat
           
protected static com.ibm.icu.text.NumberFormat _percentFormat
           
protected static java.lang.StringBuffer tmpBuffer
           
 
Constructor Summary
TString()
           
 
Method Summary
static java.lang.String change(java.lang.String in, java.lang.String oldPat, java.lang.String newPat)
           
static java.lang.String formatAsPercentage(double d)
           
static java.lang.String formatTimeValue(double d)
           
static long getLong(java.lang.String str)
           
static long getTime(double etime)
           
static java.lang.String resourcePath(org.eclipse.emf.common.util.URI uri)
           
static java.lang.String stripNewLineChar(java.lang.String src)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_decimalFormat

protected static com.ibm.icu.text.NumberFormat _decimalFormat

_percentFormat

protected static com.ibm.icu.text.NumberFormat _percentFormat

tmpBuffer

protected static java.lang.StringBuffer tmpBuffer
Constructor Detail

TString

public TString()
Method Detail

change

public static java.lang.String change(java.lang.String in,
                                      java.lang.String oldPat,
                                      java.lang.String newPat)

formatAsPercentage

public static java.lang.String formatAsPercentage(double d)

formatTimeValue

public static java.lang.String formatTimeValue(double d)

getLong

public static long getLong(java.lang.String str)

resourcePath

public static java.lang.String resourcePath(org.eclipse.emf.common.util.URI uri)

stripNewLineChar

public static java.lang.String stripNewLineChar(java.lang.String src)

getTime

public static long getTime(double etime)

TPTP 4.6.0 Platform Project
Internal API Specification