static public String toString(List<String> list) { StringBuffer sb = new StringBuffer("[");  for (int i = 0; i < list.size(); i++) { if (i > 0) { sb.append(", "); }  sb.append(list.get(i)); }  sb.append("]"); return sb.toString();
static public String toString(String filename, int offset, int length) throws IOException {  File file = new File(filename); FileInputStream input = new FileInputStream(file); byte[] data = new byte[length]; int nb = input.read(data); String dump = FSUtils.toString(data, 0, nb); input.close(); return dump;
    static public String toString(List<String> list) {        StringBuffer sb = new StringBuffer("[");        for (int i = 0; i < list.size(); i++) {            if (i > 0) {                sb.append(", ");            }            sb.append(list.get(i));        }        sb.append("]");        return sb.toString();    }