Package io.ocfl.core.util
Class UncheckedFiles
- java.lang.Object
-
- io.ocfl.core.util.UncheckedFiles
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
copy(InputStream input, Path dst, StandardCopyOption... copyOptions)
static void
copy(Path src, Path dst, StandardCopyOption... copyOptions)
static Path
createDirectories(Path path)
static Path
createDirectory(Path path)
static void
delete(Path path)
static void
deleteIfExists(Path path)
static long
size(Path path)
-
-
-
Method Detail
-
copy
public static void copy(Path src, Path dst, StandardCopyOption... copyOptions)
-
copy
public static void copy(InputStream input, Path dst, StandardCopyOption... copyOptions)
-
delete
public static void delete(Path path)
-
deleteIfExists
public static void deleteIfExists(Path path)
-
size
public static long size(Path path)
-
-