Class SafeEncoder


  • public final class SafeEncoder
    extends Object
    The only reason to have this is to be able to compatible with java 1.5 :(
    • Method Detail

      • encodeMany

        public static byte[][] encodeMany​(String... strs)
      • encode

        public static byte[] encode​(String str)
      • encode

        public static String encode​(byte[] data)
      • encodeObject

        public static Object encodeObject​(Object dataToEncode)
        This method takes an object and will convert all bytes[] and list of byte[] and will encode the object in a recursive way.
        Parameters:
        dataToEncode -
        Returns:
        the object fully encoded