(File file)
| 1940 | } |
| 1941 | |
| 1942 | private Reader openWebxmlReader(File file) throws IOException { |
| 1943 | FileInputStream fis = new FileInputStream(file); |
| 1944 | try { |
| 1945 | return webxmlEncoding != null ? new InputStreamReader(fis, webxmlEncoding) : new InputStreamReader(fis); |
| 1946 | } catch (IOException ioe) { |
| 1947 | fis.close(); |
| 1948 | throw ioe; |
| 1949 | } |
| 1950 | } |
| 1951 | |
| 1952 | private Writer openWebxmlWriter(File file) throws IOException { |
| 1953 | FileOutputStream fos = new FileOutputStream(file); |