Liferay 6.1.2-ce-ga3

com.liferay.portal.kernel.util
Class TextFormatter

java.lang.Object
  extended by com.liferay.portal.kernel.util.TextFormatter

public class TextFormatter
extends Object


Field Summary
static int A
           
static int B
           
static int C
           
static int D
           
static int E
           
static int F
           
static int G
           
static int H
           
static int I
           
static int J
           
static int K
           
static int L
           
static int M
           
static int N
           
static int O
           
static int P
           
 
Constructor Summary
TextFormatter()
           
 
Method Summary
static String format(String s, int style)
           
static String formatKB(double size, Locale locale)
           
static String formatKB(int size, Locale locale)
           
static String formatName(String name)
           
static String formatPlural(String s)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

A

public static final int A
See Also:
Constant Field Values

B

public static final int B
See Also:
Constant Field Values

C

public static final int C
See Also:
Constant Field Values

D

public static final int D
See Also:
Constant Field Values

E

public static final int E
See Also:
Constant Field Values

F

public static final int F
See Also:
Constant Field Values

G

public static final int G
See Also:
Constant Field Values

H

public static final int H
See Also:
Constant Field Values

I

public static final int I
See Also:
Constant Field Values

J

public static final int J
See Also:
Constant Field Values

K

public static final int K
See Also:
Constant Field Values

L

public static final int L
See Also:
Constant Field Values

M

public static final int M
See Also:
Constant Field Values

N

public static final int N
See Also:
Constant Field Values

O

public static final int O
See Also:
Constant Field Values

P

public static final int P
See Also:
Constant Field Values
Constructor Detail

TextFormatter

public TextFormatter()
Method Detail

format

public static String format(String s,
                            int style)

formatKB

public static String formatKB(double size,
                              Locale locale)

formatKB

public static String formatKB(int size,
                              Locale locale)

formatName

public static String formatName(String name)

formatPlural

public static String formatPlural(String s)

Liferay 6.1.2-ce-ga3