51Degrees Pipeline Java  4.1

51Degrees Pipeline for Java

fiftyone.pipeline.util.StringManipulation Class Reference

Detailed Description

Static helper methods for manipulating strings.

Static Public Member Functions

static String  stringJoin (List< String > strings, String delimiter)
Join a list of strings using the delimiter provided. More...
static String  stringJoin (String[] strings, String delimiter)
Join a list of strings using the delimiter provided. More...
static String  stringJoin (Iterable<?> objects, String delimiter)
Join a list of strings returned by the Object#toString() method using the delimiter provided. More...

Member Function Documentation

◆ stringJoin() [1/3]

static String fiftyone.pipeline.util.StringManipulation.stringJoin ( List< String >   strings,
String   delimiter  
)
static

Join a list of strings using the delimiter provided.

Parameters
strings - to join
delimiter - to separate the strings
Returns
the joined string

◆ stringJoin() [2/3]

static String fiftyone.pipeline.util.StringManipulation.stringJoin ( String []   strings,
String   delimiter  
)
static

Join a list of strings using the delimiter provided.

Parameters
strings - to join
delimiter - to separate the strings
Returns
the joined string

◆ stringJoin() [3/3]

static String fiftyone.pipeline.util.StringManipulation.stringJoin ( Iterable<?>   objects,
String   delimiter  
)
static

Join a list of strings returned by the Object#toString() method using the delimiter provided.

Parameters
objects - to join the values of Object#toString()
delimiter - to separate the strings
Returns
the joined string