Here you can find the source of getStringByByteArray(byte[] b)
public static String getStringByByteArray(byte[] b)
//package com.java2s; public class Main { public static String getStringByByteArray(byte[] b) { return new String(b); }//from w w w . j a v a 2 s . c o m }