我在文件中有如下数据:
name: "Clooney, George", release: "2013", movie: "Gravity", imdb: "9",
name: "Pitt, Brad", release: "2004", movie: "Ocean's 12", imdb: "8",
name: "Clooney, George", release: "2004", movie: "Ocean's 12", imdb: "8",
name: "Pitt, Brad", release: "1999", movie: "Fight Club", imdb: "9",
我需要按如下方式输出:
name: "Clooney, George", movie: "Gravity",
name: "Clooney, George", movie: "Ocean's 12",
name: "Pitt, Brad", movie: "Ocean's 12",
name: "Pitt, Brad", movie: "Fight Club",
我对Java非常陌生。有人可以给我一些关于如何完成这项工作的提示和指示吗?
谢谢,TM