(String filename)
| 221 | } |
| 222 | |
| 223 | public static void deletefile(String filename) throws Exception { |
| 224 | File file = new File(filename); |
| 225 | if (file.exists()) { |
| 226 | |
| 227 | file.delete(); |
| 228 | } |
| 229 | } |
| 230 | |
| 231 | public static void writefile(String filename, byte[] data) throws Exception { |
| 232 | FileOutputStream fos = new FileOutputStream(filename); |