com.liferay.portal.kernel.util
Class TextFormatter
java.lang.Object
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
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
TextFormatter
public TextFormatter()
format
public static String format(String s,
int style)
formatKB
public static String formatKB(double size,
Locale locale)
- Deprecated.
formatStorageSize(double, Locale)
formatKB
public static String formatKB(int size,
Locale locale)
- Deprecated.
formatStorageSize(int, Locale)
formatName
public static String formatName(String name)
formatPlural
public static String formatPlural(String s)
formatStorageSize
public static String formatStorageSize(double size,
Locale locale)
formatStorageSize
public static String formatStorageSize(int size,
Locale locale)