@Test public void write() throws IOException { final FileBase file = new FileBase(testFolder.getRoot().getAbsolutePath(), "ccc"); file.write("dasd"); MatcherAssert.assertThat(Files.exists(file.path()), Matchers.is(true)); }
@Override public final void write(String data) throws IOException { Files.write(this.path(), data.getBytes()); }
FileBase implements File { @Override public final void write(String data) throws IOException { Files.write(this.path(), data.getBytes()); } }
FileBase implements File { @Override public final void write(String data) throws IOException { Files.write(this.path(), data.getBytes()); } FileBase(Directory directory, String file);  FileBase(String directory, String file);  FileBase(Path directory, String file);  FileBase(FileSystemPath fileSystemPath); }
FileBase implements File { @Override public final void write(String data) throws IOException { Files.write(this.path(), data.getBytes()); } FileBase(Directory directory, String file);  FileBase(String directory, String file);  FileBase(Path directory, String file);  FileBase(FileSystemPath fileSystemPath); @Override final Path path(); @Override final boolean exist(); @Override final void write(String data); }
FileBase implements File { @Override public final void write(String data) throws IOException { Files.write(this.path(), data.getBytes()); } FileBase(Directory directory, String file);  FileBase(String directory, String file);  FileBase(Path directory, String file);  FileBase(FileSystemPath fileSystemPath); @Override final Path path(); @Override final boolean exist(); @Override final void write(String data);  }