Package com.powsybl.commons.io
Class FileUtil
java.lang.Object
com.powsybl.commons.io.FileUtil
- Author:
- Geoffroy Jamgotchian <geoffroy.jamgotchian at rte-france.com>
-
Method Summary
Modifier and TypeMethodDescriptionstatic com.google.common.io.ByteSource
asByteSource
(Path path, OpenOption... openOptions) Simplistic implementation of byte source based on aPath
, waiting for guava 21.static void
static Path
createDirectory
(Path directory) static void
-
Method Details
-
removeDir
- Throws:
IOException
-
copyDir
- Throws:
IOException
-
createDirectory
-
asByteSource
Simplistic implementation of byte source based on aPath
, waiting for guava 21.- Parameters:
path
-openOptions
-- Returns:
-