質問編集履歴
2
修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -46,7 +46,7 @@
|
|
46
46
|
|
47
47
|
|
48
48
|
|
49
|
-
Document doc = DocumentBuilderFactory.newInstance().newDocumentBuilder().parse(is);
|
49
|
+
Document doc = DocumentBuilderFactory.newInstance().newDocumentBuilder().parse(is); // (1)
|
50
50
|
|
51
51
|
|
52
52
|
|
1
修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -10,11 +10,11 @@
|
|
10
10
|
|
11
11
|
|
12
12
|
|
13
|
-
---
|
14
13
|
|
15
|
-
Main.java
|
16
14
|
|
15
|
+
```ここに言語を入力
|
16
|
+
|
17
|
-
package list10_06;
|
17
|
+
コードpackage list10_06;
|
18
18
|
|
19
19
|
|
20
20
|
|
@@ -40,11 +40,13 @@
|
|
40
40
|
|
41
41
|
public static void main(String[] args) throws Exception {
|
42
42
|
|
43
|
+
|
44
|
+
|
43
45
|
InputStream is = new FileInputStream("c:/tmp/rpgsave.xml");
|
44
46
|
|
45
47
|
|
46
48
|
|
47
|
-
|
49
|
+
Document doc = DocumentBuilderFactory.newInstance().newDocumentBuilder().parse(is); // (1)
|
48
50
|
|
49
51
|
|
50
52
|
|
@@ -100,7 +102,9 @@
|
|
100
102
|
|
101
103
|
}
|
102
104
|
|
105
|
+
```
|
103
106
|
|
107
|
+
```
|
104
108
|
|
105
109
|
"c:/tmp/rpgsave.xml"
|
106
110
|
|