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
|
static int |
Q
|
| 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
Q
public static final int Q
- See Also:
- Constant Field Values
TextFormatter
public TextFormatter()
format
public static String format(String s,
int style)
formatKB
@Deprecated
public static String formatKB(double size,
Locale locale)
- Deprecated. As of 6.2.0, replaced by
formatStorageSize(double,
Locale)
formatKB
@Deprecated
public static String formatKB(int size,
Locale locale)
- Deprecated. As of 6.2.0, replaced by
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)