This question shows research effort; it is useful and clear
0
This question does not show any research effort; it is unclear or not useful
Bookmark this question.
Show activity on this post.
我有 1 个文本文件,其中包含从 1 到 11644 的数字。数字旁边是我在另一个文件夹中的 xml 文件的名称。我总共有 8466 个 xml 文件。我需要将所有 xml 文件的文件名与文本文件中的 id 匹配并提取 id 的值。所有的 id 都在随机位置。一个例子是我的第一个 xml 文件 id 是 7025,这意味着它的 id 是 7025。我是 java 新手,所以我真的希望有人能启发我谢谢。