(String file)
| 79 | } |
| 80 | |
| 81 | private void load(String file) { |
| 82 | FileIO f = FileIO.createConnection(file); |
| 83 | if (type == TYPE_TEXT) { |
| 84 | txtData = f.fileReadUtf(); |
| 85 | } else { |
| 86 | rawBytes = f.readFile(); |
| 87 | len = rawBytes.length; |
| 88 | } |
| 89 | try { |
| 90 | f.close(); |
| 91 | } catch (IOException ex) { |
| 92 | if (StaticData.Debug) |
| 93 | ex.printStackTrace(); |
| 94 | } |
| 95 | } |
| 96 | |
| 97 | private void view(String file) { |
| 98 | try{ |
no test coverage detected