@Test public void givesPathWithinModule() throws Exception { File file = TestUtils.getTestDataFile(PATH); Path pathWithinModule = Paths.get("/world/foobar.txt"); SystemFileData systemFileData = new SystemFileData(file, null, pathWithinModule); assertThat((Object) systemFileData.getPathWithinModule()).isEqualTo(pathWithinModule); }
@Override public Path getPathWithinModule() { return pathWithinModule; }
SystemFileData implements FileData { @Override public Path getPathWithinModule() { return pathWithinModule; } }
SystemFileData implements FileData { @Override public Path getPathWithinModule() { return pathWithinModule; } SystemFileData(File file, Path pathWithinRoot);  SystemFileData(File file, Path pathWithinRoot, Path pathWithinModule); }
SystemFileData implements FileData { @Override public Path getPathWithinModule() { return pathWithinModule; } SystemFileData(File file, Path pathWithinRoot);  SystemFileData(File file, Path pathWithinRoot, Path pathWithinModule); @Override @MustBeClosed InputStream getInputStream(); @Override Path getPathWithinRoot(); @Override Path getPathWithinModule(); Path getSystemPath(); @Override long getSize(); }
SystemFileData implements FileData { @Override public Path getPathWithinModule() { return pathWithinModule; } SystemFileData(File file, Path pathWithinRoot);  SystemFileData(File file, Path pathWithinRoot, Path pathWithinModule); @Override @MustBeClosed InputStream getInputStream(); @Override Path getPathWithinRoot(); @Override Path getPathWithinModule(); Path getSystemPath(); @Override long getSize();  }