@Component public class FileSystemUtilsImpl extends java.lang.Object implements FileSystemUtils
Constructor and Description |
---|
FileSystemUtilsImpl() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
buildReportDirectoryName() |
void |
copyFromJar(java.lang.String sourcePath,
java.nio.file.Path target)
recursivly copies a directory embedded in the jar file to a location on the disk
|
void |
copyFromJar(java.net.URI sourcePath,
java.nio.file.Path target)
recursivly copies a directory embedded in the jar file to a location on the disk
|
public java.lang.String buildReportDirectoryName()
buildReportDirectoryName
in interface FileSystemUtils
public void copyFromJar(@NotNull java.lang.String sourcePath, @NotNull java.nio.file.Path target) throws java.io.IOException
FileSystemUtils
copyFromJar
in interface FileSystemUtils
sourcePath
- The source directorytarget
- The target directoryjava.io.IOException
- exception thrown when the file could not be copiedpublic void copyFromJar(@NotNull java.net.URI sourcePath, @NotNull java.nio.file.Path target) throws java.io.IOException
FileSystemUtils
copyFromJar
in interface FileSystemUtils
sourcePath
- The source directorytarget
- The target directoryjava.io.IOException
- exception thrown when the file could not be copied