Class StringUtil
java.lang.Object
dev.engine_room.flywheel.lib.util.StringUtil
-
Method Summary
Modifier and TypeMethodDescriptionstatic intcountLines(String s) static StringformatAddress(long address) static StringformatBytes(long bytes) static StringformatTime(long ns) static StringCopy ofString.indent(int)with the trailing newline removed.static StringrepeatChar(char c, int n) static StringtrimPrefix(String s, String prefix) static StringtrimSuffix(String s, String prefix)
-
Method Details
-
countLines
-
formatBytes
-
formatTime
-
formatAddress
-
trimPrefix
-
trimSuffix
-
indent
Copy ofString.indent(int)with the trailing newline removed. -
repeatChar
-