String.join(",", yourListString);
String content = yourListObjs.stream() .map(obj -> obj.toString()) .collect(Collectors.joining(System.lineSeparator()));
Đăng nhận xét
Không có nhận xét nào:
Đăng nhận xét