public final class Strings extends Object
| Modifier and Type | Field and Description |
|---|---|
static Function<String,String> |
decamelize |
| Modifier and Type | Method and Description |
|---|---|
static String |
defaultIfBlank(String str,
String defaultStr) |
static void |
escape(Appendable output,
String arg) |
static String |
escape(String arg) |
static boolean |
isBlank(String str) |
static String |
ljust(String str,
int columnWidth)
Use this to standardize the width of some text output to all be left-justified and space-padded
on the right side to fill up the given column width.
|
static String |
prettyPrint(Object o) |
static String |
rjust(String str,
int columnWidth)
Use this to standardize the width of some text output to all be right-justified and space-padded
on the left side to fill up the given column width.
|
public static boolean isBlank(String str)
public static void escape(Appendable output, String arg) throws IOException
IOExceptionpublic static String ljust(String str, int columnWidth)
str - the text to formatcolumnWidth - the column widthpublic static String rjust(String str, int columnWidth)
str - the text to formatcolumnWidth - the column widthCopyright © 2002–2015 The Neo4j Graph Database Project. All rights reserved.