Package io.ocfl.core.util
Class UncheckedFiles
java.lang.Object
io.ocfl.core.util.UncheckedFiles
This class is just a wrapper around
Files
that converts IOExceptions into OcflIOExceptions.-
Method Summary
Modifier and TypeMethodDescriptionstatic 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
static void
deleteIfExists
(Path path) static long
-
Method Details
-
createDirectories
-
createDirectory
-
copy
-
copy
-
delete
-
deleteIfExists
-
size
-