public class FilePathUtils extends Object
| Constructor and Description |
|---|
FilePathUtils() |
| Modifier and Type | Method and Description |
|---|---|
static Path |
getUniqueFilename(Path targetDirectory,
String fileName)
Tries to find a filename that doesn't exist in the target directory, by appending a numeric suffix to the given filename
|
public static Path getUniqueFilename(Path targetDirectory, String fileName)
targetDirectory - the directory to checkfileName - the filename wantedCopyright © 2019 Atlassian. All rights reserved.