Constructor and Description |
---|
StringUtil() |
Modifier and Type | Method and Description |
---|---|
static String |
chars(char c,
int n) |
static String |
getStackTrace(Throwable t)
Returns an throwable's stack trace
|
static String |
getStackTrace(Throwable t,
int depth) |
static String |
spaces(int n) |
static String[] |
split(String s,
String separator)
Mimics the the Java SE
String.split(String) method. |
static String |
toString(double d)
Deprecated.
use
OrdinateFormat |
public static final String NEWLINE
public static String[] split(String s, String separator)
String.split(String)
method.s
- the string to split.separator
- the separator to use.public static String toString(double d)
OrdinateFormat
d
- a numberpublic static String spaces(int n)
public static String chars(char c, int n)
Copyright © 2024. All rights reserved.