com.liferay.portal.kernel.util
Class TextFormatter
java.lang.Object
com.liferay.portal.kernel.util.TextFormatter
public class TextFormatter
- extends java.lang.Object
- Author:
- Brian Wing Shun Chan
|
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 java.lang.String format(java.lang.String s,
int style)
formatKB
public static java.lang.String formatKB(double size,
java.util.Locale locale)
- Deprecated. As of 6.2.0, replaced by
formatStorageSize(double,
Locale)
formatKB
public static java.lang.String formatKB(int size,
java.util.Locale locale)
- Deprecated. As of 6.2.0, replaced by
formatStorageSize(int,
Locale)
formatName
public static java.lang.String formatName(java.lang.String name)
formatPlural
public static java.lang.String formatPlural(java.lang.String s)
formatStorageSize
public static java.lang.String formatStorageSize(double size,
java.util.Locale locale)
formatStorageSize
public static java.lang.String formatStorageSize(int size,
java.util.Locale locale)