(byte[] rawBytes)
| 85 | } |
| 86 | |
| 87 | public void writeFile(byte[] rawBytes) { |
| 88 | try { |
| 89 | OutputStream os = appendOutputStream(); |
| 90 | if (os != null) { |
| 91 | os.write(rawBytes); |
| 92 | os.flush(); |
| 93 | os.close(); |
| 94 | } |
| 95 | close(); |
| 96 | } catch (IOException ex) { |
| 97 | if (StaticData.Debug) |
| 98 | ex.printStackTrace(); |
| 99 | } |
| 100 | } |
| 101 | |
| 102 | public String fileReadUtf() { |
| 103 | InputStreamReader is = null; |
no test coverage detected