JTS Core 1.17.1
Packages
Classes
Search
About
Top
split(String, String): String[]
getStackTrace(Throwable): String
getStackTrace(Throwable, int): String
toString(double): String
spaces(int): String
chars(char, int): String
Bottom
Source
Classic
org.locationtech.jts.util
Class StringUtil
Hierarchy:
Object
, StringUtil
public class StringUtil
Utility methods for working with
String
s.
Authors:
Martin Davis
public
static
String[] split(
String
s,
String
separator)
Mimics the the Java SE
String.split(String)
method.
Parameters:
s - s the string to split.
separator - separator the separator to use.
Returns:
the array of split strings.
public
static
String
getStackTrace(
Throwable
t)
Returns an throwable's stack trace
public
static
String
getStackTrace(
Throwable
t, int depth)
public
static
String
toString(double d)
Returns a string representation of the given number, using a format compatible with WKT.
Parameters:
d - d a number
Returns:
a string
Deprecation:
use
OrdinateFormat
public
static
String
spaces(int n)
public
static
String
chars(char c, int n)