Go to the documentation of this file.
19package org.sleuthkit.autopsy.integrationtesting;
21import java.nio.file.Paths;
23import java.util.stream.Collectors;
24import org.apache.commons.lang3.StringUtils;
41 if (StringUtils.isBlank(workingDirectory)) {
44 if (Paths.get(relPath).isAbsolute()) {
47 return Paths.get(workingDirectory, relPath).toString();
61 public static List<String>
getAbsolutePaths(String workingDirectory, List<String> relPaths) {
62 if (relPaths ==
null) {
66 return relPaths.stream()
68 .collect(Collectors.toList());
static List< String > getAbsolutePaths(String workingDirectory, List< String > relPaths)
static String getAbsolutePath(String workingDirectory, String relPath)
Copyright © 2012-2024 Sleuth Kit Labs. Generated on:
This work is licensed under a
Creative Commons Attribution-Share Alike 3.0 United States License.