Package it.tidalwave.bluemarine2.util
Class Formatters
- java.lang.Object
-
- it.tidalwave.bluemarine2.util.Formatters
-
public final class Formatters extends java.lang.Object
- Author:
- Fabrizio Giudici
-
-
Constructor Summary
Constructors Constructor Description Formatters()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.String
format(java.time.Duration duration)
static java.lang.String
toBase64String(byte[] bytes)
static java.lang.String
toHexString(byte[] bytes)
static java.lang.String
xmlPrettyPrinted(java.lang.String xml)
-
-
-
Method Detail
-
xmlPrettyPrinted
@Nonnull public static java.lang.String xmlPrettyPrinted(@Nonnull java.lang.String xml)
-
format
@Nonnull public static java.lang.String format(@Nonnull java.time.Duration duration)
-
toHexString
@Nonnull public static java.lang.String toHexString(@Nonnull byte[] bytes)
-
toBase64String
@Nonnull public static java.lang.String toBase64String(@Nonnull byte[] bytes)
-
-