/** * Gets a Path instance relative to the 'local' test (rather than the JBoss server context). * * @param relativePath * Relative path like <code>target/file.xml</code> * @param createParentDirectories * If true, the parent directories of the path are created if necessary * @return Path relative to the unit test VM */ protected final Path getLocalPath(String relativePath, boolean createParentDirectories) { return this.getLocalPath(Paths.get(relativePath), createParentDirectories); }
/** * Gets a Path instance relative to the 'local' test (rather than the JBoss server context). * * @param relativePath * Relative path like <code>target/file.xml</code> * @param createParentDirectories * If true, the parent directories of the path are created if necessary * @return Path relative to the unit test VM */ protected final Path getLocalPath(String relativePath, boolean createParentDirectories) { return this.getLocalPath(Paths.get(relativePath), createParentDirectories); }