@Test public void pathWithFolder() { final String directory = "aa"; final String file = "file"; MatcherAssert.assertThat( new FileSystemPathBase(directory, file).path(), Matchers.equalTo(Paths.get(directory + "/" + file))); }
@Override public final Path path() { return directory.resolve(file); }
FileSystemPathBase implements FileSystemPath { @Override public final Path path() { return directory.resolve(file); } }
FileSystemPathBase implements FileSystemPath { @Override public final Path path() { return directory.resolve(file); } FileSystemPathBase(String path);  FileSystemPathBase(String directory, String file);  FileSystemPathBase(Path path);  FileSystemPathBase(Directory directory, String fsPath);  FileSystemPathBase(Path directory, String file); }
FileSystemPathBase implements FileSystemPath { @Override public final Path path() { return directory.resolve(file); } FileSystemPathBase(String path);  FileSystemPathBase(String directory, String file);  FileSystemPathBase(Path path);  FileSystemPathBase(Directory directory, String fsPath);  FileSystemPathBase(Path directory, String file); @Override final Path path(); @Override final boolean exist(); }
FileSystemPathBase implements FileSystemPath { @Override public final Path path() { return directory.resolve(file); } FileSystemPathBase(String path);  FileSystemPathBase(String directory, String file);  FileSystemPathBase(Path path);  FileSystemPathBase(Directory directory, String fsPath);  FileSystemPathBase(Path directory, String file); @Override final Path path(); @Override final boolean exist();  }