Creates a new instance of this file. @return success flag
()
| 118 | * @return success flag |
| 119 | */ |
| 120 | public boolean touch() { |
| 121 | try { |
| 122 | Files.createFile(toPath()); |
| 123 | return true; |
| 124 | } catch(final IOException ex) { |
| 125 | Util.debug(ex); |
| 126 | return false; |
| 127 | } |
| 128 | } |
| 129 | |
| 130 | @Override |
| 131 | public byte[] read() throws IOException { |
no test coverage detected