Here you can find the source of byteArrayListToCharToString(ArrayList
public static String byteArrayListToCharToString(ArrayList<Byte> byteArrayList)
//package com.java2s; //License from project: Open Source License import java.util.*; public class Main { public static String byteArrayListToCharToString(ArrayList<Byte> byteArrayList) { //Convert ArrayList<Byte> to String String resultString = null; for (Byte byteToProcess : byteArrayList) { resultString += (char) (byteToProcess.byteValue()); }/*from w w w. j av a 2 s. c om*/ return resultString; } }