Package com.jozufozu.flywheel.lib.util
Class StringUtil
java.lang.Object
com.jozufozu.flywheel.lib.util.StringUtil
-
Method Summary
Modifier and TypeMethodDescriptionstatic Stringstatic 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
-
args
-
trimPrefix
-
trimSuffix
-
indent
Copy ofString.indent(int)with the trailing newline removed. -
repeatChar
-