public class HumanReadableUtility extends Object
Modifier and Type | Method and Description |
---|---|
static String |
toDebugPasswordText(String aPassword)
This method provides a password hint by keeping the first and the last
characters of the password and exchanging the rest by an asterisk "*".
|
static String |
toString(byte[] aArray)
Generates a human readable
String from the content of the array. |
static String |
toString(char[] aArray)
Generates a human readable
String from the content of the array. |
static String |
toString(Collection<?> aCollection)
Generates a human readable
String from the content of the
collection. |
static String |
toString(double[] aArray)
Generates a human readable
String from the content of the array. |
static String |
toString(float[] aArray)
Generates a human readable
String from the content of the array. |
static String |
toString(int[] aArray)
Generates a human readable
String from the content of the array. |
static String |
toString(long[] aArray)
Generates a human readable
String from the content of the array. |
static String |
toString(Map<?,?> aMap)
Generates a human readable
String from the content of the map. |
static String |
toString(Object[] aArray)
Generates a human readable
String from the content of the array. |
public static String toString(Map<?,?> aMap)
String
from the content of the map.
Useful for debugging and logging.public static String toString(Collection<?> aCollection)
String
from the content of the
collection. Useful for debugging and logging.public static String toString(Object[] aArray)
String
from the content of the array.
Useful for debugging and logging.public static String toString(int[] aArray)
String
from the content of the array.
Useful for debugging and logging.public static String toString(long[] aArray)
String
from the content of the array.
Useful for debugging and logging.public static String toString(double[] aArray)
String
from the content of the array.
Useful for debugging and logging.public static String toString(float[] aArray)
String
from the content of the array.
Useful for debugging and logging.public static String toString(byte[] aArray)
String
from the content of the array.
Useful for debugging and logging.public static String toString(char[] aArray)
String
from the content of the array.
Useful for debugging and logging.public static String toDebugPasswordText(String aPassword)
aPassword
- Copyright © 2015. All rights reserved.