@Test public void validateFileWithRelativeFolder() { DynamicPath path = new DynamicPath("test/log_{count}.tmp"); assertThat(path.isValid(new File("test/log_42.tmp"))).isTrue(); }
public boolean isValid(final File file) { return isValid(file.getAbsolutePath(), 0, 0); }
DynamicPath { public boolean isValid(final File file) { return isValid(file.getAbsolutePath(), 0, 0); } }
DynamicPath { public boolean isValid(final File file) { return isValid(file.getAbsolutePath(), 0, 0); } DynamicPath(final String path); }
DynamicPath { public boolean isValid(final File file) { return isValid(file.getAbsolutePath(), 0, 0); } DynamicPath(final String path); String resolve(); List<FileTuple> getAllFiles(final String backupSuffix); boolean isValid(final File file); }
DynamicPath { public boolean isValid(final File file) { return isValid(file.getAbsolutePath(), 0, 0); } DynamicPath(final String path); String resolve(); List<FileTuple> getAllFiles(final String backupSuffix); boolean isValid(final File file);  }