public class User {
private String name;
private String email;
}
excel
public class JXLSExample {
public static void main(String[] args) {
try (InputStream templateInputStream = new FileInputStream("template.xlsx");
OutputStream outputStream = new FileOutputStream("output.xlsx")) {
Context context = new Context();
JxlsHelper.getInstance().processTemplate(templateInputStream, outputStream, context);
e.printStackTrace();
}
}
private static List<User> getUserList() {
}
}