@Test(expected=IllegalStateException.class) public void variableDoNotExists() throws IOException{ PathHelper vpu = new PathHelper(conf, null); assertThat(vpu.replaceVars("/opt/jboss/@NOTREPLACED@/test"), is("/opt/jboss/@NOTREPLACED@/test")); }
public final Path replaceVars(final Path path) { String resolvedPath = replaceVars(path.toString()); return Paths.get(resolvedPath); }
PathHelper { public final Path replaceVars(final Path path) { String resolvedPath = replaceVars(path.toString()); return Paths.get(resolvedPath); } }
PathHelper { public final Path replaceVars(final Path path) { String resolvedPath = replaceVars(path.toString()); return Paths.get(resolvedPath); } PathHelper(final Configuration conf);   PathHelper(final Map<String, Object> properties, final Path module); }
PathHelper { public final Path replaceVars(final Path path) { String resolvedPath = replaceVars(path.toString()); return Paths.get(resolvedPath); } PathHelper(final Configuration conf);   PathHelper(final Map<String, Object> properties, final Path module); final Path getTargetWithoutSuffix(Path path, final String sufix); final Path getTarget(final Path path); final Path replaceVars(final Path path); String replaceVars(String srcPath); }
PathHelper { public final Path replaceVars(final Path path) { String resolvedPath = replaceVars(path.toString()); return Paths.get(resolvedPath); } PathHelper(final Configuration conf);   PathHelper(final Map<String, Object> properties, final Path module); final Path getTargetWithoutSuffix(Path path, final String sufix); final Path getTarget(final Path path); final Path replaceVars(final Path path); String replaceVars(String srcPath);  }