Class StringUtil
java.lang.Object
org.locationtech.jts.util.StringUtil
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Stringchars(char c, int n) static StringReturns an throwable's stack tracestatic StringgetStackTrace(Throwable t, int depth) static Stringspaces(int n) static String[]Mimics the the Java SEString.split(String)method.static StringtoString(double d) Deprecated.
-
Field Details
-
NEWLINE
-
-
Constructor Details
-
StringUtil
public StringUtil()
-
-
Method Details
-
split
Mimics the the Java SEString.split(String)method.- Parameters:
s- the string to split.separator- the separator to use.- Returns:
- the array of split strings.
-
getStackTrace
-
getStackTrace
-
toString
Deprecated.useOrdinateFormatReturns a string representation of the given number, using a format compatible with WKT.- Parameters:
d- a number- Returns:
- a string
-
spaces
-
chars
-
OrdinateFormat