Package | Description |
---|---|
org.apache.empire.commons |
This package contains various common classes for error handling, specific data types and data type conversion.
|
Modifier and Type | Method and Description |
---|---|
static StringUtils.ObjectStringifier |
StringUtils.getObjectStringifier() |
static StringUtils.ObjectStringifier |
StringUtils.setObjectStringifier(StringUtils.ObjectStringifier stringifier) |
Modifier and Type | Method and Description |
---|---|
static String |
StringUtils.arrayToString(Object[] array,
String template,
String defItemValue,
StringUtils.ObjectStringifier stringifier)
Converts an array of objects to a string.
|
static int |
StringUtils.estimateArrayBufferSize(Object[] array,
StringUtils.ObjectStringifier stringifier,
int separatorLength,
int defValueLength,
boolean ignoreEmpty)
Estimates the buffer size needed to convert an Array into a String
|
static int |
StringUtils.estimateListBufferSize(Collection<?> list,
StringUtils.ObjectStringifier stringifier,
int separatorLength,
int defValueLength,
boolean ignoreEmpty)
Estimates the buffer size needed to convert a Collection into a String
|
static String |
StringUtils.listToString(Collection<?> list,
String template,
String defItemValue,
StringUtils.ObjectStringifier stringifier)
Converts a list (Collection) of objects to a string.
|
static StringUtils.ObjectStringifier |
StringUtils.setObjectStringifier(StringUtils.ObjectStringifier stringifier) |
Copyright © 2008–2023 Apache Software Foundation. All rights reserved.